Cross-site Scripting (XSS) Affecting modsecurity-apache package, versions <2.9.7-1+deb12u2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.31% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-MODSECURITYAPACHE-20360726
  • published1 Oct 2026
  • disclosed6 Aug 2025

Introduced: 6 Aug 2025

CVE-2025-54571  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Echo:latest modsecurity-apache to version 2.9.7-1+deb12u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream modsecurity-apache package and not the modsecurity-apache package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1