6.9

CVE-2025-54571: ModSecurity's Insufficient Return Value Handling can Lead to XSS and Source Code Disclosure

Modified
AliasesSUSE-SU-2025:03422-1SUSE-SU-2025:03423-1UBUNTU-CVE-2025-54571
Published 05-08-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-54571 is a medium (CVSS 6.9) Unchecked Return Value vulnerability in owasp-modsecurity modsecurity. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 30.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.35%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 05-08-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 4 sources · 2 versions

EPSS trend

Probability

0.35%

Chance of exploitation in the next 30 days

Percentile

31%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.33% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Modsecurity

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse3 products
  • apache2-mod_security2&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6< 2.9.4-150400.3.12.1
  • apache2-mod_security2&distro=SUSE Linux Enterprise Module for Server Applications 15 SP7< 2.9.4-150400.3.12.1
  • apache2-mod_security2&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5< 2.8.0-7.12.1
Opensuse2 products
  • apache2-mod_security2&distro=openSUSE Leap 15.6< 2.9.4-150400.3.12.1
  • apache2-mod_security2&distro=openSUSE Tumbleweed< 2.9.12-1.1
Debian1 product
  • modsecurity-apache< 2.9.3-3+deb11u5 | < 2.9.7-1+deb12u2 | < 2.9.11-1+deb13u1 | < 2.9.12-2
Owasp1 product
Owasp-modsecurity1 product
Ubuntu1 product
  • modsecurityAll versions (No fix recorded)

6 vendors · 9 products

References

11 links
Show all 11 references