cakephp/cakephp is vulnerable to CRLF Injection
65
Medium Risk
CakePHP's mailer builds outgoing message headers from values passed to Message::setHeaders() and addHeaders() without stripping carriage-return and line-feed characters. When externally influenced data reaches these methods, embedded CRLF sequences split the header block and inject additional headers or body content into the email. This enables email header injection through the SMTP transport. The fix neutralizes CRLF sequences in header values before they are written to the message.
You are affected if you are using a version that falls within the vulnerable range and you pass externally controlled data into custom email headers via Message::setHeaders() or addHeaders().
cakephp/cakephp is vulnerable to CRLF Injection in versions 4.5.0 - 4.5.11, 4.6.0 - 4.6.4, 5.0.0 - 5.1.8, 5.2.0 - 5.2.13 and 5.3.0 - 5.3.6.
Upgrade the cakephp/cakephp library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant