CVE-2020-19626 Craft CMS Cross-site Scripting Vulnerability
Remote attackers can inject arbitrary web script or HTML into Craft CMS admin settings, potentially leading to session hijacking or malicious actions.
- 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-2020-19626?
CVE-2020-19626 is a medium-severity cross-site scripting vulnerability in Craftcms Craft Cms, published on 26 Mar 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross Site Scripting (XSS) vulnerability in craftcms 3.1.31, allows remote attackers to inject arbitrary web script or HTML, via /admin/settings/sites/new.
Weakness: CWE-79
Which versions are affected by CVE-2020-19626?
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.1.33 |
craftcms/cms Packagist | All versions | 3.1.33 |
Products include Craftcms Craft Cms.
How do I fix CVE-2020-19626?
Upgrade craftcms/cms to 3.1.33 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-2020-19626 being exploited?
There is no known exploitation of CVE-2020-19626 in the wild and no public exploit code.
Other vulnerabilities in Craftcms Craft Cms
Sources
Also known as GHSA-33jj-92px-m4g7.