CVE-2025-54571 Details
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.
A vulnerability in ModSecurity versions through 2.9.11 allows attackers to manipulate the HTTP response's Content-Type. This could result in various issues, such as cross-site scripting (XSS) and unauthorized disclosure of script source code, depending on the HTTP context. The vulnerability arises because ModSecurity fails to properly handle certain input errors, allowing malicious requests to be processed incorrectly. This issue has been demonstrated in the latest ModSecurity version.
Users are advised to update ModSecurity to version 2.9.12, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 6, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-252 | Unchecked Return Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| owasp modsecurity | >= 2.0.0, < 2.9.12 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Oct 9, 2025 | Initial Analysis | [email protected] |
| Aug 6, 2025 | CVE Modified | CISA-ADP |
| Aug 6, 2025 | New CVE Received | [email protected] |