cve.bz

CVE-2025-54571 owasp modsecurity: Cross-site Scripting

6.9 mediumExploit referenceEPSS 0.4%Fix available

Medium (6.9) in owasp modsecurity. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.9 medium
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

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-08-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
CWE-252 Unchecked Return Value
OWASP Top 10
A05:2025 Injection, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-54571 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-54571?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-54571?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-54571 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
owasp:modsecurityfrom 2.0.0 before 2.9.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11modsecurity-apache2.9.3-3+deb11u5DLA-4294-1
Debian12modsecurity-apache2.9.7-1+deb12u2DEBIAN-CVE-2025-54571
Debian13modsecurity-apache2.9.11-1+deb13u1DEBIAN-CVE-2025-54571
Debian14modsecurity-apache2.9.12-2DEBIAN-CVE-2025-54571
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 moremodsecurityno fix listedUBUNTU-CVE-2025-54571
SUSELinux Enterprise Module for Server Applications 15 SP6, Linux Enterprise Module for Server Applications 15 SP7apache2-mod_security22.9.4-150400.3.12.1SUSE-SU-2025:03422-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5apache2-mod_security22.8.0-7.12.1SUSE-SU-2025:03423-1
openSUSELeap 15.6apache2-mod_security22.9.4-150400.3.12.1SUSE-SU-2025:03422-1
openSUSETumbleweedapache2-mod_security22.9.12-1.1openSUSE-SU-2025:15456-1
Azure Linux2mod_securityno fix listedAZL-66111
Azure Linux3mod_securityno fix listedAZL-66087

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7mod_securityFix deferred
Red Hat Enterprise Linux 8mod_securityFix deferred
Red Hat Enterprise Linux 9mod_securityFix deferred
Red Hat JBoss Core Servicesmod_securityFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-54571.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON