CVE-2026-120493
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| trustindex | widgets_for_social_photo_feed | {"endIncluding":"1.8.3"} | |
References
- 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
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.