Vulnerabilities · 2025 · Owasp
CVE-2025-48866
Owasp Modsecurity vulnerability
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 products
Modsecurity. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Owasp Modsecurity runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-f82j-8pp7-cw2w · Exploit
- github.com/owasp-modsecurity/ModSecurity/commit/3a54ccea62d3f7151bb08cb78d60c5e90b53ca2e · Patch
- github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-859r-vvv8-rm8r
- github.com/owasp-modsecurity/ModSecurity/wiki/Reference-Manual-(v2.x)#sanitisearg
- lists.debian.org/debian-lts-announce/2025/06/msg00009.html
- nvd.nist.gov/vuln/detail/CVE-2025-48866
- cve.org/CVERecord?id=CVE-2025-48866
More vulnerabilities in Owasp products
CVE-2025-66022CVE-2025-66021CVE-2025-54571CVE-2024-23686CVE-2024-1019CVE-2023-48171CVE-2023-38285CVE-2023-38199All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.