MediumGHSA-7x94-jx75-3gh6CVE-2023-2817
Stored cross site scripting in Craft CMS
Published 26 May 2023 · Updated 16 Feb 2024
Affected package
craftcms/cmsComposer
- Affected
- >=4.0.0-RC1 <4.4.12
- Fixed in
- 4.4.12
Update to the fixed version for your release line, for example:
composer require craftcms/cms:^4.4.12Details
A post-authentication stored cross-site scripting vulnerability exists in Craft CMS versions <= 4.4.11. HTML, including script tags can be injected into field names which, when the field is added to a category or section, will trigger when users visit the Categories or Entries pages respectively. This issue was patched in version 4.4.12.
Is GHSA-7x94-jx75-3gh6 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.