CVE-2023-23927 Craft CMS stored cross-site scripting vulnerability

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
craftcms/cms PackagistFrom 3.7.243.7.64
craftcms/cms PackagistFrom 3.7.243.7.64
craftcms/cms PackagistFrom 4.0.0-RC14.3.7
craftcms/cms PackagistFrom 4.0.0-RC14.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.

All Craftcms Craft Cms vulnerabilities

Sources

Also known as GHSA-qcrj-6ffc-v7hq.

Is CVE-2023-23927 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free