# Shortcodes Ultimate <= 7.9.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lightbox Iframe Source

- **ID:** WPSEC-2026-3724
- **Plugin:** Shortcodes Ultimate – Content Elements (`shortcodes-ultimate`), https://wordpress.org/plugins/shortcodes-ultimate/
- **Affected versions:** all versions before 7.9.3
- **Fixed in:** 7.9.3 (Update to 7.9.3 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/shortcodes-ultimate
- **Fix released:** 2026-11-22
- **Published:** 2026-11-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3724/

## Description

The Shortcodes Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the lightbox iframe source in all versions up to, and including, 7.9.2. This is due to the front-end lightbox script passing the element's data-mfp-src value to the Magnific Popup iframe without restricting the URL scheme. As a result, any element with the su-lightbox class and an iframe type opens a javascript: URL in the page's origin. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute when a user clicks the injected element.

## References

- https://wpsec.com/vuln/WPSEC-2026-3724/
- https://plugins.svn.wordpress.org/shortcodes-ultimate/tags/7.9.3/
- https://wordpress.org/plugins/shortcodes-ultimate/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3724/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
