CakePHP MIME header injection in FormDataPart
cakephp
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cakephp cakephp |
| No fix yet |
Original description
CakePHP through 5.4.3 contains a header injection vulnerability in FormDataPart that allows attackers to inject MIME part headers via unsanitized Content-Type and Content-ID values. Attackers can supply CR/LF sequences in attachment MIME types or Content-IDs passed to Message::setAttachments() or HTTP client multipart data to add arbitrary headers or content.
From the CVE record · VulnCheck