CVE-2017-9516 Craft CMS XSS Vulnerability
Attackers can execute arbitrary scripts in user browsers by uploading malicious SVG files to Craft CMS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-9516?
CVE-2017-9516 is a medium-severity cross-site scripting vulnerability in Craftcms Craft Cms, published on 8 Jun 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Craft CMS before 2.6.2982 allows for a potential XSS attack vector by uploading a malicious SVG file.
Weakness: CWE-79
Which versions are affected by CVE-2017-9516?
2 open source packages ship an affected version, including craftcms/cms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
craftcms/cms Packagist | All versions | 2.6.2982 |
craftcms/cms Packagist | All versions | 2.6.2982 |
Products include Craftcms Craft Cms.
How do I fix CVE-2017-9516?
Upgrade craftcms/cms to 2.6.2982 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-9516 being exploited?
There is no known exploitation of CVE-2017-9516 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Craftcms Craft Cms
Sources
Also known as GHSA-6pvw-hh48-jx7p.