MediumGHSA-vc29-mvwv-wpcqCVE-2006-4067

Cross-site scripting (XSS) vulnerability in CakePHP

Published 1 May 2022 · Updated 8 Nov 2023

Affected package

Affected
>=1.0.1.2708 <1.1.7.3363
Fixed in
1.1.7.3363
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^1.1.7.3363

Details

Cross-site scripting (XSS) vulnerability in cake/libs/error.php in CakePHP before 1.1.7.3363 allows remote attackers to inject arbitrary web script or HTML via the URL, which is reflected back in a 404 (\"Not Found\") error page. NOTE: some of these details are obtained from third party information.

Is GHSA-vc29-mvwv-wpcq 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.