MediumGHSA-6pvw-hh48-jx7pCVE-2017-9516

Craft CMS XSS Vulnerability

Published 17 May 2022 · Updated 16 Feb 2024

Affected package

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

Details

Craft CMS before 2.6.2982 allows for a potential XSS attack vector by uploading a malicious SVG file.

Is GHSA-6pvw-hh48-jx7p 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 craftcms/cms, and gives you the command that fixes it.

References

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