CVE-2025-54571

NameCVE-2025-54571
DescriptionModSecurity 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4294-1
Debian Bugs1110480

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
modsecurity-apache (PTS)bullseye2.9.3-3+deb11u2vulnerable
bullseye (security)2.9.3-3+deb11u5fixed
bookworm, bookworm (security)2.9.7-1+deb12u1vulnerable
trixie2.9.11-1vulnerable
forky, sid2.9.12-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
modsecurity-apachesourcebullseye2.9.3-3+deb11u5DLA-4294-1
modsecurity-apachesource(unstable)2.9.12-21110480

Notes

[trixie] - modsecurity-apache <no-dsa> (Minor issue; will be fixed via point release)
[bookworm] - modsecurity-apache <no-dsa> (Minor issue; will be fixed via point release)
https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-cg44-9m43-3f9v
https://github.com/owasp-modsecurity/ModSecurity/issues/2514
Fixed by: https://github.com/owasp-modsecurity/ModSecurity/commit/dfbde557acc41d858dbe04d4b6eaec64478347ff (v2.9.12)

Search for package or bug name: Reporting problems