Description
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Prior to 3.0.16, the multipart/form-data request body parser in libmodsecurity silently removes embedded line breaks from non-file form-field values before exporting them to ARGS and ARGS_POST because src/request_body_processor/multipart.cc overwrites reserved bytes in m_reserve instead of appending the current buffer. This creates a parser differential between ModSecurity and backend applications that preserve line breaks in form fields, allowing rules that inspect ARGS or ARGS_POST to miss payloads whose dangerous syntax depends on a line break. This issue is fixed in version 3.0.16.
Affected products
owasp: modsecurity
References4
- github.com/owasp-modsecurity/ModSecurity/security/advisories/GH… ExploitMitigationVendor Advisory
- github.com/owasp-modsecurity/ModSecurity/security/advisories/GH… ExploitMitigationVendor Advisory
- github.com/owasp-modsecurity/ModSecurity/commit/875504c2758169c… Patch
- github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.16 ProductRelease Notes
Metrics
- CVSS 3.1
-
8.6
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N - EPSS — exploit probability
- 0% percentile: 42 · as of 15 November 2026
- CWE
- CWE-180
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.