MediumGHSA-wc6r-4ggc-79w5CVE-2022-37429

Stored XSS using HTMLEditor

Published 21 Nov 2022 · Updated 17 Feb 2024

Affected package

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

Details

A malicious content author could add a JavaScript payload to the href attribute of a link by splitting a javascript URL with white space characters.

An attacker must have access to the CMS to exploit this issue.

Is GHSA-wc6r-4ggc-79w5 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.