MediumGHSA-gv6c-59h4-9pmgCVE-2011-4962

Silverstripe CMS Arbitrary Code Execution

Published 17 May 2022 · Updated 19 Jan 2024

Affected package

Affected
>=2.4.0 <2.4.6
Fixed in
2.4.6
Update to the fixed version for your release line, for example:composer require silverstripe/cms:^2.4.6

Details

code/sitefeatures/PageCommentInterface.php in SilverStripe 2.4.x before 2.4.6 might allow remote attackers to execute arbitrary code via a crafted cookie in a user comment submission, which is not properly handled when it is deserialized.

Is GHSA-gv6c-59h4-9pmg 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 silverstripe/cms, and gives you the command that fixes it.

References

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