CVE-2026-120493 PUBLISHED

Widgets for Social Photo Feed <= 1.8.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'widget-id' Shortcode Attribute

Assigner: Wordfence
Reserved: 02.11.2026 Published: 26.11.2026 Updated: 26.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CVSS Score: 6.4

Product Status

Vendor trustindex
Product Widgets for Social Photo Feed
Versions Default: unaffected
  • affected from 0 to 1.8.3 (incl.)

Credits

  • Wordfence PRISM finder

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation CWE