{"affected":[{"defaultStatus":"unaffected","product":"Widgets for Social Photo Feed","source":"CNA: Wordfence","vendor":"trustindex","versions":[{"lessThanOrEqual":"1.8.3","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-120493","cwes":["CWE-79"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6.4,"severity":"medium","source":"CNA: Wordfence","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1795685601577,"publishedAt":1795685601577,"references":[{"source":"CNA: Wordfence","tags":[],"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/0f4f3369-92a2-44aa-9619-9bfaa286f01b?source=cve"},{"source":"CNA: Wordfence","tags":[],"url":"https://plugins.trac.wordpress.org/browser/social-photo-feed-widget/tags/1.8.3/trustindex-feed-plugin.class.php#L4878"},{"source":"CNA: Wordfence","tags":[],"url":"https://plugins.trac.wordpress.org/browser/social-photo-feed-widget/tags/1.8.3/trustindex-feed-plugin.class.php#L231"},{"source":"CNA: Wordfence","tags":[],"url":"https://plugins.trac.wordpress.org/browser/social-photo-feed-widget/tags/1.8.3/trustindex-feed-plugin.class.php#L4894"},{"source":"CNA: Wordfence","tags":[],"url":"https://downloads.wordpress.org/plugin/social-photo-feed-widget.1.8.4.zip"}],"remediation":[],"revision":"39e5a6195faeedfae7887dd548890b22886f2b45c4b5caf6982c06774a059b07","sources":[{"modifiedAt":1795685601577,"name":"CNA: Wordfence","retrievedAt":1795687705544,"url":"https://www.cve.org/CVERecord?id=CVE-2026-120493"}],"ssvc":null,"status":"published","title":"Widgets for Social Photo Feed <= 1.8.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'widget-id' Shortcode Attribute","updatedAt":1795687705544}