{"id":"CVE-2026-52747","published":"2026-07-10T21:42:11Z","modified":"2026-07-13T17:48:27Z","title":"ModSecurity: Multipart form-data parser silently strips embedded line breaks from form-field values, enabling…","vendor":"owasp-modsecurity","product":"ModSecurity","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00476,"percentile":0.33409,"provenance":"source"},"cwes":[{"id":"CWE-180","name":"Incorrect Behavior Order: Validate Before Canonicalize"}],"references":[{"url":"https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-rcw9-2f5r-7p88","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/owasp-modsecurity/ModSecurity/commit/875504c2758169c41be1ad2f0cc64d896b7815d7","tags":["x_refsource_MISC"]},{"url":"https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.16","tags":["x_refsource_MISC"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":6.68},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"owasp-modsecurity","affectedVersions":[{"vendor":"owasp-modsecurity","product":"ModSecurity","versions":["< 3.0.16"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-13T17:48:09.249154Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-43047","exploited":false,"provenance":"source"}}