# Shortcodes Ultimate <= 7.9.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Unsafe Features Bypass

- **ID:** WPSEC-2026-3723
- **Plugin:** Shortcodes Ultimate – Content Elements (`shortcodes-ultimate`), https://wordpress.org/plugins/shortcodes-ultimate/
- **Affected versions:** from 5.10.2 before 7.9.3
- **Fixed in:** 7.9.3 (Update to 7.9.3 or later.)
- **Severity:** Medium 4.4 (CVSS:3.1/AV:N/AC:H/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-3723/

## Description

The Shortcodes Ultimate plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Unsafe Features option in versions 5.10.2 up to, and including, 7.9.2. This is due to su_is_unsafe_features_enabled() checking only the site-wide option and not whether the author of the content has the unfiltered_html capability, so features meant for trusted users, such as the su_button 'onclick' attribute and arbitrary meta keys in su_meta, work in posts written by any author. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts that run when a user clicks the injected button. Exploitation requires the Unsafe Features option to be enabled. It is on by default but turns off automatically when a non-administrator user loads the admin area.

## References

- https://wpsec.com/vuln/WPSEC-2026-3723/
- 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-3723/

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.
