MediumGHSA-qcrj-6ffc-v7hqCVE-2023-23927
Craft CMS Stored Cross-site Scripting Injection Vulnerability
Published 3 Mar 2023 · Updated 10 Sept 2026
Affected packages
craftcms/cmsComposer
- Affected
- >=4.0.0-RC1 <4.3.7
- Fixed in
- 4.3.7
Update to the fixed version for your release line, for example:
composer require craftcms/cms:^4.3.7craftcms/cmsComposer
- Affected
- >=3.7.24 <3.7.64
- Fixed in
- 3.7.64
Update to the fixed version for your release line, for example:
composer require craftcms/cms:^3.7.64Details
Summary
_When you insert a payload inside a label name or instruction of an entry type, an XSS happens in the quick post widget on the admin dashboard._
PoC
_Complete instructions, including specific configuration details, to reproduce the vulnerability._
Impact
Tested with the free version of Craft CMS 4.3.6.1
Is GHSA-qcrj-6ffc-v7hq 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
- Linkgithub.com/craftcms/cms/security/advisories/GHSA-qcrj-6ffc-v7hq
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-23927
- Packagegithub.com/craftcms/cms
- Linkgithub.com/craftcms/cms/blob/develop/CHANGELOG.md#437---2023-02-03
- Linkuser-images.githubusercontent.com/53917092/215604129-d5b75608-5a24-4eb3-906f-55b192310298.mp4
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.