cakephp/cakephp is vulnerable to SQL Injection
81
High Risk
The FunctionsBuilder::jsonValue() method builds PostgreSQL JSON path expressions by inserting the $jsonPath argument into the generated SQL instead of binding or quoting it. This allows manipulation of the executed statement against PostgreSQL connections, exposing or altering database contents. The fix stops interpolating the path argument and treats it as a bound value so injection-like paths are rejected.
You are affected if you are using a version that falls within the vulnerable range and you use the PostgreSQL driver and pass externally controlled data to the $jsonPath argument of FunctionsBuilder::jsonValue().
cakephp/cakephp is vulnerable to SQL Injection in versions 5.1.0 - 5.1.9, 5.2.0 - 5.2.14 and 5.3.0 - 5.3.6.
Upgrade the cakephp/cakephp and/or the cakephp/database 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