VDB
Sign up
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.14

Details

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.14
Fixcomposer require cakephp/cakephp:^3.4.14
Packagist/cakephp/cakephp
Introduced in: 3.5.0Fixed in: 3.5.17
Fixcomposer require cakephp/cakephp:^3.5.17
Packagist/cakephp/cakephp
Introduced in: 3.6.0Fixed in: 3.6.4
Fixcomposer require cakephp/cakephp:^3.6.4

References