CVE-2017-8384 Craft CMS XSS Vulnerability

Medium 6.1 Published Updated

Cross-site scripting vulnerability in Craft CMS allows attackers to inject malicious scripts via crafted HTTP requests.

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-2017-8384?

CVE-2017-8384 is a medium-severity cross-site scripting vulnerability in Craftcms Craft Cms, published on 1 May 2017. 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 2.6.2976 allows XSS attacks because an array returned by HttpRequestService::getSegments() and getActionSegments() need not be zero-based. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-8052.

Weakness: CWE-79

Which versions are affected by CVE-2017-8384?

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

PackageAffectedFixed in
craftcms/cms PackagistAll versions2.6.2976
craftcms/cms PackagistAll versions2.6.2976

Products include Craftcms Craft Cms.

How do I fix CVE-2017-8384?

Upgrade craftcms/cms to 2.6.2976 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-2017-8384 being exploited?

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

All Craftcms Craft Cms vulnerabilities

Sources

Also known as GHSA-9mcw-mwxv-grwj.

Is CVE-2017-8384 in your software?

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

Check your SBOMs for free