MediumGHSA-xwhj-pqcg-8rcr

CakePHP vulnerable to Cross-site Scripting in some development error pages

Published 20 Jan 2023 · Updated 29 Nov 2024

Affected packages

Affected
>=3.4.0 <3.4.14
Fixed in
3.4.14
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^3.4.14
Affected
>=3.5.0 <3.5.17
Fixed in
3.5.17
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^3.5.17
Affected
>=3.6.0 <3.6.4
Fixed in
3.6.4
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^3.6.4

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.

Is GHSA-xwhj-pqcg-8rcr in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected cakephp/cakephp, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.