CVE-2025-48866
HIGH7.5EPSS 1.1%ModSecurity has possible DoS vulnerability in sanitiseArg action
Published: 6/2/2025Modified: 4/28/2026
Description
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions prior to 2.9.10 contain a denial of service vulnerability similar to GHSA-859r-vvv8-rm8r/CVE-2025-47947. The `sanitiseArg` (and `sanitizeArg` - this is the same action but an alias) is vulnerable to adding an excessive number of arguments, thereby leading to denial of service. Version 2.9.10 fixes the issue. As a workaround, avoid using rules that contain the `sanitiseArg` (or `sanitizeArg`) action.
Affected packages (4)
- Bitnami/modsecurityfrom 0, < 3.0.12
- Bitnami/modsecurity2from 0, < 2.9.10
- Debian/modsecurity-apachefrom 0, < 2.9.3-3+deb11u4
- Debian/modsecurity-apachefrom 0, < 2.9.3-3+deb11u4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-48866
- WEBhttps://github.com/owasp-modsecurity/ModSecurity/commit/3a54ccea62d3f7151bb08cb78d60c5e90b53ca2e
- WEBhttps://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-859r-vvv8-rm8r
- WEBhttps://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-f82j-8pp7-cw2w
- WEBhttps://github.com/owasp-modsecurity/ModSecurity/wiki/Reference-Manual-(v2.x)#sanitisearg
- WEBhttps://lists.debian.org/debian-lts-announce/2025/06/msg00009.html
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-48866