CVE-2019-12823 Craft CMS XSS Vulnerability

Medium 6.1 Published Updated

An attacker can inject malicious scripts via XML feeds in Craft CMS, potentially executing code in user browsers.

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-2019-12823?

CVE-2019-12823 is a medium-severity cross-site scripting vulnerability in Craftcms Craft Cms, published on 18 Jun 2019. 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 CMS before 3.1.31 does not properly filter XML feeds and thus allowing XSS.

Weakness: CWE-79

Which versions are affected by CVE-2019-12823?

2 open source packages ship an affected version, including craftcms/cms. It affects 1 product.

PackageAffectedFixed in
craftcms/cms PackagistAll versions3.1.31
craftcms/cms PackagistAll versions3.1.31

Products include Craftcms Craft Cms.

How do I fix CVE-2019-12823?

Upgrade craftcms/cms to 3.1.31 or later.

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-2019-12823 being exploited?

There is no known exploitation of CVE-2019-12823 in the wild and no public exploit code.

All Craftcms Craft Cms vulnerabilities

Sources

Also known as GHSA-w5q4-q7wp-qww6.

Is CVE-2019-12823 in your software?

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

Check your SBOMs for free