CVE-2025-54571: ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx
CVE-2025-54571 is a medium-severity flaw (CVSS 6.1) affecting modsecurity. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-54571?
modsecurity: upgrade to 2.9.12. Exact commands for each OS are on this page.
Is CVE-2025-54571 being exploited?
CVE-2025-54571 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-54571 affect?
CVE-2025-54571 affects modsecurity. Severity is medium (CVSS 6.1). 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 depen
How urgent is CVE-2025-54571?
Priority 38/100. Public exploit reference; On your watchlist
Software pages
Related CVEs
- CVE-2026-42268 HIGH 7.5 UPGRADE ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx
- CVE-2026-52747 HIGH 8.6 UPGRADE ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx
- CVE-2026-52761 MEDIUM 5.8 UPGRADE ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx
- CVE-2026-30923 HIGH 7.5 UPGRADE ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx
- CVE-2025-48866 HIGH 7.5 UPGRADE ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx