ModSecurity: HTML decoder missing entities, leading to evasion
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 9, 2026
- Updated
- Nov 13, 2026
- Reserved
- Jul 10, 2026
Description
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Prior to 2.9.15 and 3.0.17, t:htmlEntityDecode recognizes only a small subset of named HTML entities, so rules that depend on the transformation can inspect different bytes than a browser or backend. Attackers can encode ASCII separators and operators with unhandled entity names, including aliases, to bypass rules that depend on the transformation. The v3 decoder also accepts prefix matches instead of requiring an exact entity-token length, which can transform invalid longer names into different bytes. This issue is fixed in versions 2.9.15 and 3.0.17.
| Product | Versions |
|---|---|
| ModSecurity owasp-modsecurity | < 2.9.15 Affected>= 3.0.0, < 3.0.17 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | GitHub_M |
Weaknesses
References
- https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-cxqf-vgrr-xxrv
- https://github.com/owasp-modsecurity/ModSecurity/commit/6353be7b09ff222d29a7491c26307d293b00d56f
- https://github.com/owasp-modsecurity/ModSecurity/commit/77be8039d734d36ec291d8fbda9e69326ae44755
- https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v2.9.15
- https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.17
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.