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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| owasp-modsecurity | ModSecurity | < 2.9.12 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | modsecurity-apache | 2.9.12-2 | — |
| Debian 13 | modsecurity-apache | 2.9.11-1+deb13u1 | — |
| Debian 12 | modsecurity-apache | 2.9.7-1+deb12u2 | — |
| Debian 11 | modsecurity-apache | 2.9.3-3+deb11u5 | DLA-4294-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | modsecurity | No fix yet | — |
| Ubuntu 26.04 LTS | modsecurity | No fix yet | — |
| Ubuntu 25.10 | modsecurity | No fix yet | — |
| Ubuntu 24.04 LTS | modsecurity | No fix yet | — |
| Ubuntu 22.04 LTS | modsecurity | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | modsecurity | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | apache2-mod_security2 | 2.9.4-150400.3.12.1 | SUSE-SU-2025:03422-1 |
| SLES 15 SP6 | apache2-mod_security2 | 2.9.4-150400.3.12.1 | SUSE-SU-2025:03422-1 |
| SLES 12 SP5 | apache2-mod_security2 | 2.8.0-7.12.1 | SUSE-SU-2025:03423-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | apache2-mod_security2 | 2.9.12-1.1 | openSUSE-SU-2025:15456-1 |
| openSUSE Leap 15.6 | apache2-mod_security2 | 2.9.4-150400.3.12.1 | SUSE-SU-2025:03422-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | mod_security +1 | 2.9.12-1.amzn2023.0.1 | ALAS2023-2025-1157 |
| Amazon Linux 2 | mod_security +1 | 2.9.12-1.amzn2.0.1 | ALAS2-2025-2981 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | mod_security | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | mod_security | No fix yet | — |
Advisories 12
- WID-SEC-2026-0162 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 24, 2026
- WID-SEC-2026-1202 Oracle Hyperion: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- openSUSE-SU-2025:15456-1 apache2-mod_security2-2.9.12-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4294-1 modsecurity-apache - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:03423-1 Security update for apache2-mod_security2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03422-1 Security update for apache2-mod_security2 SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2026-0027 Kwetsbaarheden verholpen in Oracle Fusion Middleware NCSC-NL (Netherlands) · Jan 21, 2026
- NCSC-2026-0022 Kwetsbaarheden verholpen in Oracle Communications producten NCSC-NL (Netherlands) · Jan 21, 2026
- WID-SEC-2026-0153 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2025-1721 OWASP ModSecurity: Schwachstelle ermöglicht Cross-Site Scripting BSI CERT-Bund (WID) · Nov 4, 2025
- ALAS2023-2025-1157 Moderate: mod_security security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 8, 2025
- ALAS2-2025-2981 Moderate: mod_security security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 4, 2025