Widgets for Social Photo Feed <= 1.8.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'widget-id' Shortcode Attribute
- State
- Published
- Severity
- 6.4 Medium
- Published
- Nov 26, 2026
- Updated
- Nov 26, 2026
- Reserved
- Nov 2, 2026
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.
| Product | Versions |
|---|---|
| Widgets for Social Photo Feed trustindex | 1.8.3 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.4 Medium | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0f4f3369-92a2-44aa-9619-9bfaa286f01b?source=cve
- 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#L231
- https://plugins.trac.wordpress.org/browser/social-photo-feed-widget/tags/1.8.3/trustindex-feed-plugin.class.php#L4894
- https://downloads.wordpress.org/plugin/social-photo-feed-widget.1.8.4.zip
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.