cakephp/cakephp vulnerabilities
The CakePHP framework
- Registry
- Composer
- Latest
- 5.4.4
- License
- MIT
22 known advisories
The latest version, 5.4.4, is not affected by any of them. Projects on older versions may be.
composer require cakephp/cakephp:^5.4.4Is your project on an affected cakephp/cakephp?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for cakephp/cakephp
CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection
- Affected
- <4.5.12 · >=4.6.0 <4.6.5 · >=5.0.0 <5.1.9 · >=5.2.0 <5.2.14 · >=5.3.0 <5.3.7
- Fixed in
- 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver
- Affected
- >=5.3.0 <5.3.7 · >=5.2.0 <5.2.15 · >=5.1.0 <5.1.10
- Fixed in
- 5.1.10, 5.2.15, 5.3.7
CakePHP: SmtpTransport vulnerable to CRLF header injection
- Affected
- >=4.5.0 <4.5.12 · >=4.6.0 <4.6.5 · >=5.0.0 <5.1.9 · >=5.2.0 <5.2.14 · >=5.3.0 <5.3.7
- Fixed in
- 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
CakePHP: View::element() is missing a path containment check
- Affected
- >=5.3.0 <5.3.6 · >=5.2.0 <5.2.13 · >=5.0.0 <5.1.7 · >=4.6.0 <4.6.4 · <4.5.11
- Fixed in
- 4.5.11, 4.6.4, 5.1.7, 5.2.13, 5.3.6
CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting
- Affected
- >=5.2.10 <5.2.12 · >=5.3.0 <5.3.1
- Fixed in
- 5.2.12, 5.3.1
CakePHP vulnerable to Cross-site Scripting in some development error pages
- Affected
- >=3.4.0 <3.4.14 · >=3.5.0 <3.5.17 · >=3.6.0 <3.6.4
- Fixed in
- 3.4.14, 3.5.17, 3.6.4
CakePHP vulnerable to Remote File Inclusion through View template name manipulation
- Affected
- >=2.0.0 <2.0.99 · >=2.1.0 <2.1.99 · >=2.2.0 <2.2.99 · >=2.3.0 <2.3.99 · >=2.4.0 <2.4.99 · >=2.5.0 <2.5.99 · >=2.6.0 <2.6.12 · >=2.7.0 <2.7.6 · >=3.0.0 <3.0.15 · >=3.1.0 <3.1.4
- Fixed in
- 2.0.99, 2.1.99, 2.2.99, 2.3.99, 2.4.99, 2.5.99, 2.6.12, 2.7.6, 3.0.15, 3.1.4
CakePHP allows direct access of prefixed controller actions
- Affected
- >=2.0.0 <2.0.99 · >=2.1.0 <2.1.99 · >=2.2.0 <2.2.99 · >=2.3.0 <2.3.99 · >=2.4.0 <2.4.99 · >=2.5.0 <2.5.9 · >=2.6.0 <2.6.11 · >=2.7.0 <2.7.2
- Fixed in
- 2.0.99, 2.1.99, 2.2.99, 2.3.99, 2.4.99, 2.5.9, 2.6.11, 2.7.2
CakePHP vulnerable to Denial of Service attack through XML payloads
- Affected
- >=3.0.0 <3.0.6 · >=2.0.0 <2.0.99 · >=2.1.0 <2.1.99 · >=2.2.0 <2.2.99 · >=2.3.0 <2.3.99 · >=2.4.0 <2.4.99 · >=2.5.0 <2.5.90 · >=2.6.0 <2.6.6
- Fixed in
- 2.0.99, 2.1.99, 2.2.99, 2.3.99, 2.4.99, 2.5.90, 2.6.6, 3.0.6
CakePHP SecurityComponent cross form submission issue
- Affected
- >=2.0.0 <2.4.8 · >=1.3.0 <1.3.18
- Fixed in
- 1.3.18, 2.4.8
CakePHP has incorrect Cross-Site Request Forgery validation
- Affected
- >=3.0.0 <3.0.4
- Fixed in
- 3.0.4
CakePHP Database\\Query::offset() and limit() methods are vulnerable to SQL injection
- Affected
- >=4.2.0 <4.2.12 · >=4.3.0 <4.3.11 · >=4.4.0 <4.4.10
- Fixed in
- 4.2.12, 4.3.11, 4.4.10
CakePHP allows method override parameters to bypass CSRF checks
- Affected
- >=4.0.0 <4.0.10 · >=4.1.0 <4.1.4
- Fixed in
- 4.0.10, 4.1.4
CakePHP allows remote attackers to modify internal Cake cache and execute arbitrary code
- Affected
- >=1.2.8 <1.3.6
- Fixed in
- 1.3.6
CakePHP 1.3.7 allows remote attackers to obtain sensitive information via a direct request to a .php file
- Affected
- >=1.3.7 <1.3.8
- Fixed in
- 1.3.8
CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references
- Affected
- >=2.1.0-alpha <2.1.5 · >=2.2.0-beta <2.2.1
- Fixed in
- 2.1.5, 2.2.1
CakePHP might allow remote attackers to bypass CSRF protection mechanism via the _method parameter
- Affected
- >=2.0.0-alpha <3.1.5
- Fixed in
- 3.1.5
CakePHP allows remote attackers to spoof their IP
- Affected
- >=1.2.0 <2.6.13 · >=2.7.0-rc1 <2.7.11 · >=2.8.0-rc1 <2.8.2 · >=3.0.0-rc1 <3.0.17 · >=3.1.0-beta1 <3.1.12 · >=3.2.0-rc1 <3.2.5
- Fixed in
- 2.6.13, 2.7.11, 2.8.2, 3.0.17, 3.1.12, 3.2.5
CakePHP directory traversal vulnerability allows remote attackers to read arbitrary files
- Affected
- >=1.0.1.2708 <1.1.8.3544
- Fixed in
- 1.1.8.3544
Cross-site scripting (XSS) vulnerability in CakePHP
- Affected
- >=1.0.1.2708 <1.1.7.3363
- Fixed in
- 1.1.7.3363
Cross-Site Request Forgery in CakePHP
- Affected
- >=4.0.0 <4.0.6 · <3.10.3
- Fixed in
- 3.10.3, 4.0.6
Unsafe deserialization in SmtpTransport in CakePHP
- Affected
- >=3.0.0 <3.5.18 · >=3.6.0 <3.6.15 · >=3.7.0 <3.7.7
- Fixed in
- 3.5.18, 3.6.15, 3.7.7
Is your cakephp/cakephp version vulnerable?
- cakephp/cakephp 5.4No known advisories in 5.4.4
- cakephp/cakephp 5.3No known advisories in 5.3.8
- cakephp/cakephp 5.2No known advisories in 5.2.16
- cakephp/cakephp 5.1No known advisories in 5.1.10
- cakephp/cakephp 5.03 advisories in 5.0.11
- cakephp/cakephp 4.6No known advisories in 4.6.6
- cakephp/cakephp 4.5No known advisories in 4.5.12
- cakephp/cakephp 4.42 advisories in 4.4.18
- cakephp/cakephp 4.32 advisories in 4.3.11
- cakephp/cakephp 4.22 advisories in 4.2.12
- cakephp/cakephp 4.12 advisories in 4.1.7
- cakephp/cakephp 3.102 advisories in 3.10.5
- cakephp/cakephp 3.93 advisories in 3.9.10
- cakephp/cakephp 3.83 advisories in 3.8.13
- cakephp/cakephp 3.73 advisories in 3.7.9
- cakephp/cakephp 3.63 advisories in 3.6.15
- cakephp/cakephp 3.53 advisories in 3.5.18
Which of your client projects still run an old cakephp/cakephp?
NPMscan reads the composer.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other Composer packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Composer registry.