MediumGHSA-4q66-g4mm-8rg5

Silverstripe has Cross-site Scripting (XSS) vulnerabilities inherited from TinyMCE

Published 31 Jul 2023 · Updated 2 Dec 2024

Affected package

Affected
<1.13.6
Fixed in
1.13.6
Update to the fixed version for your release line, for example:composer require silverstripe/admin:^1.13.6

Details

TinyMCE 4.x is vulnerable to several XSS vectors, which had been patched in later versions. Two of these have been identified as affecting silverstripe/admin.

Only Silverstripe CMS 4 is affected by this issue. It's not possible to upgrade Silverstripe CMS 4 to use a more recent release of TinyMCE without introducing breaking changes. Instead, the security patches that shipped in later releases of TinyMCE have been backported to the TinyMCE version bundled in silverstripe/admin.

Silverstripe CMS 5 is not affected by those vulnerabilities because it uses TinyMCE 6.

You can find more information about the underlying vulnerabilities in those GitHub security advisories:

Is GHSA-4q66-g4mm-8rg5 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.