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

Medium 6.4 CWE-79Fixed in 3.7.3
ID
WPSEC-2026-3869
Plugin
SyntaxHighlighter Evolved (syntaxhighlighter)
Affected
all versions before 3.7.3
Remediation
Update to 3.7.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-25
Attack surface
SyntaxHighlighter Evolved on WPSec AttackSurface
Fix released
Published

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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0