MediumGHSA-j696-6m57-mcrvCVE-2017-14498

Silverstripe CMS XSS Vulnerability

Published 17 May 2022 · Updated 16 Feb 2024

Affected package

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

Details

SilverStripe CMS before 3.6.1 has XSS via an SVG document that is mishandled by (1) the Insert Media option in the content editor or (2) an admin/assets/add pathname, as demonstrated by the admin/pages/edit/EditorToolbar/MediaForm/field/AssetUploadField/upload URI, aka issue SS-2017-017.

Is GHSA-j696-6m57-mcrv 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/cms, and gives you the command that fixes it.

References

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