MediumGHSA-jx34-gqqq-r6gmCVE-2022-25238

Stored XSS via HTML fields in SilverStripe Framework

Published 29 Jun 2022 · Updated 21 Feb 2024

Affected package

Affected
>=4.0.0 <4.10.9
Fixed in
4.10.9
Update to the fixed version for your release line, for example:composer require silverstripe/framework:^4.10.9

Details

SilverStripe Framework through 4.10.8 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.

Is GHSA-jx34-gqqq-r6gm 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/framework, and gives you the command that fixes it.

References

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