{"id":"CVE-2026-61812","summary":"ModSecurity: HTML decoder missing entities, leading to evasion","details":"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.","aliases":["BIT-modsecurity-2026-61812","BIT-modsecurity2-2026-61812","GHSA-cxqf-vgrr-xxrv"],"modified":"2026-11-27T06:56:08.654840764Z","published":"2026-11-09T21:37:05.788Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-172","CWE-180"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61812.json"},"references":[{"type":"WEB","url":"https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v2.9.15"},{"type":"WEB","url":"https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.17"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61812.json"},{"type":"ADVISORY","url":"https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-cxqf-vgrr-xxrv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61812"},{"type":"FIX","url":"https://github.com/owasp-modsecurity/ModSecurity/commit/6353be7b09ff222d29a7491c26307d293b00d56f"},{"type":"FIX","url":"https://github.com/owasp-modsecurity/ModSecurity/commit/77be8039d734d36ec291d8fbda9e69326ae44755"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/owasp-modsecurity/modsecurity","events":[{"introduced":"0"},{"fixed":"151074aca78a416764b12ba1221e61a17a6c714d"},{"introduced":"c1cd668acb820824e791ba802396c60900eae9c1"},{"fixed":"1925753989ccce977cdaae417b55c9726c7cf02c"},{"fixed":"6353be7b09ff222d29a7491c26307d293b00d56f"},{"fixed":"77be8039d734d36ec291d8fbda9e69326ae44755"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"2.9.15"}],"source":"AFFECTED_FIELD"},{"strategy":"StringRangeExpression","range":[{"introduced":"3.0.0"},{"fixed":"3.0.17"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"6353be7b09ff222d29a7491c26307d293b00d56f"}]},{"range":[{"fixed":"77be8039d734d36ec291d8fbda9e69326ae44755"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v2.9.15","range":[{"fixed":"151074aca78a416764b12ba1221e61a17a6c714d"}],"source":"REFERENCES_TAG"},{"original_tag":"v3.0.17","range":[{"fixed":"1925753989ccce977cdaae417b55c9726c7cf02c"}],"source":"REFERENCES_TAG"}]}}],"versions":["v2.9.14","v3.0.16","v2.9.13","v3.0.15","v2.9.12","v2.9.11","v2.9.10","v2.9.9","v3.0.14","v3.0.13","v3.0.12","v3.0.11","v3.0.10","v3.0.9","v2.9.7","v2.9.6","v3.0.8","v3.0.7","v3.0.6","v2.9.5","v2.9.4","v3.0.5","v3.0.4","v2.9.3","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.9.2","v2.9.1","v2.9.1-rc1","v2.9.0","v2.9.0-rc2","v2.9.0-rc1","v2.7.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61812.json","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/owasp-modsecurity/modsecurity/commit/77be8039d734d36ec291d8fbda9e69326ae44755","target":{"file":"src/actions/transformations/html_entity_decode.cc"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["99631210167963846949709897357794010711","163595460108038076621042329906701109316","77628626517924246183863709164706990137","139077881501034272766944212456634863685","39938662483887165965339720723445586440","263876931208776222048687277367476300908","6778874176878769770894013998410747133","198957038250654200253157532651770312179","333269499111977278437571738332437085950","35848660286619289421801990982481706045","27041762650503962595769359541000268512","9418665439905091816370229443144057360","340129517090592170449755196894448094921","80139331161155451206173346839529672890","215113700375936423408332230723309367355","169806070508329680420054369404694876730","159871498941255081566593121250443351497","240058336393242792765713110053578176578","191745020891606681076376154761623970670","114643863942419236344789068151589532641","118550982004423550690968151925091079951","219088129656587759640143535169451344524","58470295316227503213839928299311760972","276365591731855052779183939634407134121","23626350367766361206587826645084516714","36782933513693456193985661173933960306","162443541995762359431196315154533192894","190956878384422508393719307987923440685","216352706672801593388105797396376128033","104536972052582822424281204399175219798","212538356621450243159010590638185365449","254848041402902741117530652122229314035","156887766476313196058204509329363018218","328492994198741529413287638279014398495","133293694581315830452684822777209318910","265047087144835835721509026865128826908","152267138774864435759208017808610292896"]},"id":"CVE-2026-61812-5db90d29"},{"digest":{"threshold":0.9,"line_hashes":["86599507062567528343940476530886385841","142397044211438708882399133160991533908","110633544038206547951653518562460468422","73850569626034469114636223641812299311","288697277180204334396052379433324730832","295782581854769426632102610067980664661","263876931208776222048687277367476300908","6778874176878769770894013998410747133","198957038250654200253157532651770312179","333269499111977278437571738332437085950","35848660286619289421801990982481706045","27041762650503962595769359541000268512","9418665439905091816370229443144057360","340129517090592170449755196894448094921","80139331161155451206173346839529672890","215113700375936423408332230723309367355","169806070508329680420054369404694876730","159871498941255081566593121250443351497","240058336393242792765713110053578176578","191745020891606681076376154761623970670","114643863942419236344789068151589532641","118550982004423550690968151925091079951","219088129656587759640143535169451344524","58470295316227503213839928299311760972","276365591731855052779183939634407134121","23626350367766361206587826645084516714","36782933513693456193985661173933960306","162443541995762359431196315154533192894","190956878384422508393719307987923440685","216352706672801593388105797396376128033","104536972052582822424281204399175219798","212538356621450243159010590638185365449","254848041402902741117530652122229314035","156887766476313196058204509329363018218","328492994198741529413287638279014398495","133293694581315830452684822777209318910","265047087144835835721509026865128826908","171330539563418390991831592799516822898"]},"id":"CVE-2026-61812-d89a1340","signature_type":"Line","signature_version":"v1","source":"https://github.com/owasp-modsecurity/modsecurity/commit/6353be7b09ff222d29a7491c26307d293b00d56f","target":{"file":"apache2/msc_util.c"},"deprecated":false}],"vanir_signatures_modified":"2026-11-15T07:06:46Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}