OWASP CRS XML attribute value bypass evades WAF detection
CVE-2026-62971
The web firewall misses attack code hidden in XML attributes, letting attacks through.
- CVE
- CVE-2026-62971 (opens in a new tab)
- Score
- CVSS 7.2
- First seen
Mitigation
Update to 4.28.0 (main), 4.25.1 (v4 LTS) or 3.3.10 (v3 LTS) or later. Until then, add the XML://@* target directives in a local file loaded after CRS (the opt-out does not work on ModSecurity v2).
Update to at least the version for your product:
- OWASP CRS v4 (main) 4.28.0 or later
- OWASP CRS v4 LTS 4.25.1 or later
- OWASP CRS v3 LTS 3.3.10 or later
Can't update yet?
Add this line to crs-setup-overrides.conf:
SecRuleUpdateTargetByTag "attack-protocol" "XML://@*" SecRuleUpdateTargetByTag "attack-lfi" "XML://@*" SecRuleUpdateTargetByTag "attack-rfi" "XML://@*" SecRuleUpdateTargetByTag "attack-rce" "XML://@*" SecRuleUpdateTargetByTag "attack-php" "XML://@*" SecRuleUpdateTargetByTag "attack-generic" "XML://@*" SecRuleUpdateTargetByTag "attack-xss" "XML://@*" SecRuleUpdateTargetByTag "attack-sqli" "XML://@*" SecRuleUpdateTargetByTag "attack-fixation" "XML://@*"
A wrong setting can stop the service or lock you out. Check the source links below first.
Summary
The OWASP CRS rule set does not inspect XML request body attribute values, so attack code placed inside an attribute can evade detection. Web applications protected by CRS that accept XML request bodies are affected.
Affected when
- ModSecurity XML body inspection enabled (SecRequestBodyAccess On)
- Application accepts XML request bodies
1 other Incident of this product in the last 30 days
Incidents by product: coreruleset
Other recent Incidents of coreruleset
Distribution packages (2) (every link below opens in a new tab)
- Debian 13 (trixie)modsecurity-crs · not fixed yet
- Debian 12 (bookworm)modsecurity-crs · not fixed yet
Sources: Debian Security Tracker
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- Write-up: github.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)