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.
History

Wed, 06 Aug 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 06 Aug 2025 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Moderate


Wed, 06 Aug 2025 08:00:00 +0000

Type Values Removed Values Added
First Time appeared Owasp
Owasp modsecurity
Vendors & Products Owasp
Owasp modsecurity

Tue, 05 Aug 2025 23:45:00 +0000

Type Values Removed Values Added
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.
Title ModSecurity's Insufficient Return Value Handling can Lead to XSS and Source Code Disclosure
Weaknesses CWE-252
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-08-05T23:39:40.712Z

Updated: 2025-08-06T20:31:40.639Z

Reserved: 2025-07-25T16:19:16.090Z

Link: CVE-2025-54571

cve-icon Vulnrichment

Updated: 2025-08-06T16:14:11.639Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-08-06T00:15:30.687

Modified: 2025-08-06T21:15:30.930

Link: CVE-2025-54571

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-08-05T23:39:40Z

Links: CVE-2025-54571 - Bugzilla