LowGHSA-779c-7w4p-2c4g

Silverstripe admin XSS Vulnerability via WYSIWYG editor

Published 22 May 2024 · Updated 7 Dec 2024

Affected packages

Affected
>=1.0.3 <1.0.4
Fixed in
1.0.4
Update to the fixed version for your release line, for example:composer require silverstripe/admin:^1.0.4
Affected
>=1.1.0 <1.1.1
Fixed in
1.1.1
Update to the fixed version for your release line, for example:composer require silverstripe/admin:^1.1.1

Details

It is possible for a bad actor with access to the CMS to make use of onmouseover or onmouseout attributes in the WYSIWYG editor to embed malicious javascript.

Is GHSA-779c-7w4p-2c4g 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/admin, and gives you the command that fixes it.

References

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