multipart/form-data is an HTTP request body format used by HTML forms, especially when a user uploads files. Instead of sending one plain block of data, the body is split into boundary-separated parts. Each part can carry its own headers, such as a field name, filename, or content type, followed by the part content.
It matters in cyber security because security tools must parse multipart bodies exactly the same way as the application does. If a web application firewall, proxy, or scanner misreads boundaries, line breaks, or per-part metadata, an attacker may hide malicious input inside an upload or make a rule inspect the wrong value. Defenders use strict parsing, size limits, file-type checks, and normalization tests to reduce these gaps. Multipart handling is a common place for bypasses, because small differences in parsing can change what the request really means.


