CVE-2023-23927 Craft CMS stored cross-site scripting vulnerability
Attackers can inject malicious scripts via entry type labels or instructions, leading to XSS in the admin dashboard quick post widget.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-23927?
CVE-2023-23927 is a medium-severity cross-site scripting vulnerability in Craftcms Craft Cms, published on 3 Mar 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Craft is a platform for creating digital experiences. When you insert a payload inside a label name or instruction of an entry type, an cross-site scripting (XSS) happens in the quick post widget on the admin dashboard. This issue has been fixed in version 4.3.7.
Weakness: CWE-79
Which versions are affected by CVE-2023-23927?
4 open source packages ship an affected version, including craftcms/cms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
craftcms/cms Packagist | From 3.7.24 | 3.7.64 |
craftcms/cms Packagist | From 3.7.24 | 3.7.64 |
craftcms/cms Packagist | From 4.0.0-RC1 | 4.3.7 |
craftcms/cms Packagist | From 4.0.0-RC1 | 4.3.7 |
Products include Craftcms Craft Cms.
How do I fix CVE-2023-23927?
Upgrade craftcms/cms to a fixed version for your release line: 3.7.64 or 4.3.7.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-23927 being exploited?
There is no known exploitation of CVE-2023-23927 in the wild and no public exploit code.
Other vulnerabilities in Craftcms Craft Cms
Sources
Also known as GHSA-qcrj-6ffc-v7hq.