# SyntaxHighlighter Evolved <= 3.7.2 - Unauthenticated Denial of Service via 'highlight' Shortcode Attribute

- **ID:** WPSEC-2026-3870
- **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 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
- **Weakness:** CWE-400
- **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-3870/

## Description

The SyntaxHighlighter Evolved plugin for WordPress is vulnerable to Denial of Service via the 'highlight' shortcode attribute in all versions up to, and including, 3.7.2. Line ranges such as '1-99999999' are expanded into an array of every line number in the range without any limit. Because the plugin processes its shortcodes in comments, unauthenticated attackers on sites where comments are open can exhaust PHP memory and CPU and cause fatal errors wherever the comment is rendered, including the comment moderation screen.

## References

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

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

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.
