CVE-2025-54571

Medium

Description

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. In versions 2.9.11 and below, an attacker can override the HTTP response’s Content-Type, which could lead to several issues depending on the HTTP scenario. For example, we have demonstrated the potential for XSS and arbitrary script source code disclosure in the latest version of mod_security2. This issue is fixed in version 2.9.12.

SeverityMedium
CVSS6.1
Exploit probability—
ProductOwasp Modsecurity
PublishedAug 6, 2025
First seenAug 6, 2025
Weakness typeCWE-252CWE-252

How to fix

Update
  • owasp modsecurity2.9.12 or later

Affected products

ProductAffected versionsFixed in
owasp modsecurity2.0.0 ≤ v < 2.9.122.9.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-54571 · Owasp Modsecurity · Dark Radar