cakephp/cakephp is vulnerable to Improper Encoding or Escaping of Output
19
Low Risk
Affected versions of this package are vulnerable to improper output encoding or escaping. The issue stems from using PATH_INFO instead of REQUEST_URI. Since PATH_INFO includes URL-decoded values, encoded URLs may improperly match routes they should not, leading to security risks. This flaw allows characters like %2f to bypass routing restrictions, potentially exposing unintended resources. Switching to REQUEST_URI ensures proper handling of encoded URLs and mitigates this vulnerability.
You are affected if you are using a vulnerable version of the package.
cakephp/cakephp is vulnerable to Improper Encoding or Escaping of Output in versions 4.0.0 - 5.1.3.
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.

SOC 2Compliant
ISO 27001Compliant