CVE-2026-120493
JSON

6.4medium

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

Severity
6.4medium CVSS:3.1 by Wordfence
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
trustindex Widgets for Social Photo Feedup to 1.8.3CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120493 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-120493 changed 2026-12-01Public domain