CVE-2026-120493
published medium CVSS 3.1 · 6.4Widgets for Social Photo Feed <= 1.8.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'widget-id' Shortcode Attribute
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| trustindex | — | Widgets for Social Photo Feed0 through 1.8.3 · Other versions: unaffected | Affected | Not stated | Wordfence |
Description
The Widgets for Social Photo Feed plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'widget-id' shortcode attribute of the [trustindex-feed] shortcode in versions up to, and including, 1.8.3 This is due to insufficient input sanitization and output escaping in the registerWidget() function, which concatenates the raw shortcode attribute directly into a double-quoted JavaScript string literal that is then enqueued via wp_add_inline_script() and rendered in wp_footer/admin_footer. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| trustindex | Widgets for Social Photo Feed | 0 through 1.8.3 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
References
5- https://downloads.wordpress.org/plugin/social-photo-feed-widget.1.8.4.zip
- https://plugins.trac.wordpress.org/browser/social-photo-feed-widget/tags/1.8.3/trustindex-feed-plugin.class.php#L231
- https://plugins.trac.wordpress.org/browser/social-photo-feed-widget/tags/1.8.3/trustindex-feed-plugin.class.php#L4878
- https://plugins.trac.wordpress.org/browser/social-photo-feed-widget/tags/1.8.3/trustindex-feed-plugin.class.php#L4894
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0f4f3369-92a2-44aa-9619-9bfaa286f01b?source=cve
Provider assertions
2Wordfence · cna
Widgets for Social Photo Feed <= 1.8.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'widget-id' Shortcode Attribute
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ed542d6f97554ac399cd2bff187c3f2fad44d7023b5099ba664981cbbb42d5e0
- Ingested
- 01 Dec 2026, 19:45:56 UTC
- Source record
- Official CVE record