CVE-2019-17496 Craft CMS XSS Vulnerability
Stored XSS in Craft CMS allows attackers to inject scripts via the name field during site deletion, potentially compromising user sessions.
- 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-17496?
CVE-2019-17496 is a medium-severity cross-site scripting vulnerability in Craftcms Craft Cms, published on 10 Oct 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.3.8 has stored XSS via a name field. This field is mishandled during site deletion.
Weakness: CWE-79
Which versions are affected by CVE-2019-17496?
2 open source packages ship an affected version, including craftcms/cms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
craftcms/cms Packagist | All versions | 3.3.8 |
craftcms/cms Packagist | All versions | 3.3.8 |
Products include Craftcms Craft Cms.
How do I fix CVE-2019-17496?
Upgrade craftcms/cms to 3.3.8 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-17496 being exploited?
There is no known exploitation of CVE-2019-17496 in the wild and no public exploit code.
Other vulnerabilities in Craftcms Craft Cms
Sources
Also known as GHSA-f3xr-q258-h7m9.