Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-120493: medium-severity vulnerability (CVSS 6.4) in trustindex Widgets for Social Photo Feed.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.4.
Affected products and versions
trustindex Widgets for Social Photo Feed <= 1.8.3
| Product | Versions | Fixed in |
|---|---|---|
| trustindex Widgets for Social Photo Feed | <= 1.8.3 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0f4f3369-92a2-44aa-9619-9bfaa286f01b?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/social-photo-feed-widget/tags/1.8.3/trustindex-feed-plugin.class.php#L4878 — CVE Program
- https://plugins.trac.wordpress.org/browser/social-photo-feed-widget/tags/1.8.3/trustindex-feed-plugin.class.php#L231 — CVE Program
- https://plugins.trac.wordpress.org/browser/social-photo-feed-widget/tags/1.8.3/trustindex-feed-plugin.class.php#L4894 — CVE Program
- https://downloads.wordpress.org/plugin/social-photo-feed-widget.1.8.4.zip — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.