CVE-2026-61812: ModSecurity · HTML decoder missing entities, leading to evasion
Affects modsecurity2Source GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 3.0.17 or 2.9.15 when convenient.
Data as of 27 Nov 2026, 08:28 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 6.3 |
|---|
- Patch
- Available – fixed in 3.0.17, 2.9.15
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade modsecurity2 to 3.0.17 or 2.9.15.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamimodsecurity2pkg:bitnami/modsecurity2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official fixes by upgrading ModSecurity to version 2.9.15 or later in the 2.9.x branch, or to version 3.0.17 or later in the 3.0.x branch. These versions contain the corrected HTML entity decoder that properly recognizes named entities and requires exact entity-token length matches, preventing evasion via this method.
Description
ModSecurity versions prior to 2.9.15 and 3.0.17 have a vulnerability in their HTML entity decoder (t:htmlEntityDecode) that recognizes only a limited set of named HTML entities. This causes discrepancies between how ModSecurity and browsers/backend systems interpret encoded input, allowing attackers to bypass security rules by encoding ASCII separators and operators with unrecognized or alias entity names. The v3 decoder also incorrectly accepts prefix matches for entity names, potentially transforming invalid longer names into different bytes. This issue is fixed in versions 2.9.15 and 3.0.17.
References
- github.com/owasp-modsecurity/ModSecurity/commit/6353be7b09ff222d29a7491c26307d293b00d56f (opens in a new tab)
- github.com/owasp-modsecurity/ModSecurity/commit/77be8039d734d36ec291d8fbda9e69326ae44755 (opens in a new tab)
- github.com/owasp-modsecurity/ModSecurity/releases/tag/v2.9.15 (opens in a new tab)
- github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.17 (opens in a new tab)
- github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-cxqf-vgrr-xxrv (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-61812 (opens in a new tab)