MEDIUM
GHSA-xwhj-pqcg-8rcr
CakePHP vulnerable to Cross-site Scripting in some development error pages
Quick fix
GHSA-xwhj-pqcg-8rcr — cakephp/cakephp: upgrade to the fixed version with the command below.
composer require cakephp/cakephp:^3.4.14Details
CakePHP 3.4 prior to 3.4.14, 3.5 prior to 3.5.17, and 3.6 prior to 3.6.4 contains a cross-site-scripting (XSS) vulnerability in the development only `missing route` and `duplicate named route` error pages.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/cakephp/cakephp
Introduced in:
3.4.0Fixed in: 3.4.14Fix
composer require cakephp/cakephp:^3.4.14Packagist/cakephp/cakephp
Introduced in:
3.5.0Fixed in: 3.5.17Fix
composer require cakephp/cakephp:^3.5.17Packagist/cakephp/cakephp
Introduced in:
3.6.0Fixed in: 3.6.4Fix
composer require cakephp/cakephp:^3.6.4References
- https://github.com/cakephp/cakephp/commit/1ea0c87de729e0dcd53eb6fe3bc86ba739121d8e[WEB]
- https://bakery.cakephp.org/2018/05/20/cakephp_364_3517_3414_released.html[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/cakephp/cakephp/2018-05-20.yaml[WEB]
- https://github.com/cakephp/cakephp[PACKAGE]