BIT-modsecurity2-2025-54571

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/modsecurity2/BIT-modsecurity2-2025-54571.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-modsecurity2-2025-54571
Aliases
Published
2025-08-08T05:55:32.006Z
Modified
2025-08-08T07:29:52.803182Z
Summary
ModSecurity's Insufficient Return Value Handling can Lead to XSS and Source Code Disclosure
Details

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.

Database specific
{
    "severity": "Medium",
    "cpes": [
        "cpe:2.3:a:trustwave:modsecurity:*:*:*:*:*:*:*:*"
    ]
}
References

Affected packages

Bitnami / modsecurity2

Package

Name
modsecurity2
Purl
pkg:bitnami/modsecurity2

Severity

  • 6.9 (Medium) CVSS_V4 - 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.12