# SyntaxHighlighter Evolved <= 3.7.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via SyntaxHighlighter Code Block

- **ID:** WPSEC-2026-3869
- **Plugin:** SyntaxHighlighter Evolved (`syntaxhighlighter`), https://wordpress.org/plugins/syntaxhighlighter/
- **Affected versions:** all versions before 3.7.3
- **Fixed in:** 3.7.3 (Update to 3.7.3 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/syntaxhighlighter
- **Fix released:** 2026-11-24
- **Published:** 2026-11-25
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3869/

## Description

The SyntaxHighlighter Evolved plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the SyntaxHighlighter Code block in all versions up to, and including, 3.7.2. The block's HTML-escaped code is decoded before rendering whenever its 'language' attribute names a known language, and the code is then returned without escaping when an extra positional '0' attribute in the block's attributes overrides that language with an unknown value. 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.

## References

- https://wpsec.com/vuln/WPSEC-2026-3869/
- https://plugins.svn.wordpress.org/syntaxhighlighter/tags/3.7.3/
- https://wordpress.org/plugins/syntaxhighlighter/

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

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.
