All vulnerabilities

Servers and applications

CVE-2026-61812

HTML decoder missing entities, leading to evasion

Severity
Medium 6.3
Published
30 Sept 2026
Last changed
13 Nov 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.9.15, 3.0.17
Exploit chance
0.3% in the next 30 daysHigher than 25% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-172CWE-180
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Also known as
GHSA-cxqf-vgrr-xxrv
Sources
CVE Program, Project advisories (GitHub)

Description

t:htmlEntityDecode recognises only five named HTML entities — ", &, <, > and . Every other named entity is copied through undecoded, so a rule that relies on the transformation to normalise its input can be evaded by spelling the payload's ASCII characters as entities. A browser decodes them; the rule never sees them.

q=javascript:execute_my_code(); is blocked. q=javascript&colon;execute_my_code(); is not — and the browser executes it.

The original report named two missing entities (&apos;, &colon;) and stated they were the only ones. That is not correct, and the correction matters for anyone assessing exposure: 39 named entities that expand to a single ASCII character are not decoded, along with &shy; (U+00AD) and the &NonBreakingSpace; spelling of NBSP.

The complete set is not curated by hand — it is derived from the WHATWG named character reference list, , selecting every entity that expands to a single code point in U+0000..U+007F plus U+00A0 and U+00AD.

From owasp-modsecurity/ModSecurity's security advisory. Shortened; the full text is there.

Workarounds

None that fully substitute for the fix. Detection that does not depend on t:htmlEntityDecode — @detectXSS, @detectSQLi, or rules matching the entity spellings directly, as CRS 944150–944152 do — is unaffected.

Workarounds as given by owasp-modsecurity/ModSecurity's security advisory.

Affected software

SoftwareAffected versions
ModSecurityServers and applications · cna:owasp-modsecurity|modsecurity
  • Every version before 2.9.15
  • From 3.0.0 before 3.0.17
ModSecurityServers and applications · github:owasp-modsecurity/modsecurity
  • Every version before 2.9.15
  • Every version before 3.0.17

About ModSecurity

web application firewall (WAF) module

From Wikidata, CC0 1.0.
Docker Hub pulls
7,086,565Docker Hub, 15 Nov 2026
GitHub stars
9,872GitHub, 15 Nov 2026
Forks
1,761GitHub, 15 Nov 2026
Latest release
v3.0.17GitHub, 15 Nov 2026
Released
29 Sept 2026GitHub
Developer
Trustwave HoldingsWikidata
License
Apache Software License 2.0Wikidata
Written in
CWikidata
First published on GitHub
2 Feb 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-61812
  • GitHub Advisory Database https://github.com/advisories/GHSA-cxqf-vgrr-xxrv
  • github.com https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-cxqf-vgrr-xxrv