MediumGHSA-qw4w-vq8v-2wcvCVE-2022-37430

Stored XSS using uppercase characters in HTMLEditor

Published 21 Nov 2022 · Updated 20 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. A similar issue was identified and fixed via CVE-2022-28803. However, the fix didn't account for the casing of the href attribute. An attacker must have access to the CMS to exploit this issue.

Is GHSA-qw4w-vq8v-2wcv 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.