CVE-2023-33495 Craft CMS vulnerable to HTML injection
Attackers can inject malicious HTML into Craft CMS, potentially leading to script execution or data theft.
- 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-2023-33495?
CVE-2023-33495 is a medium-severity cross-site scripting vulnerability in Craftcms Craft Cms, published on 20 Jun 2023. 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 through 4.4.9 is vulnerable to HTML Injection.
Weakness: CWE-79
Which versions are affected by CVE-2023-33495?
2 open source packages ship an affected version, including craftcms/cms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
craftcms/cms Packagist | All versions to 4.4.9 | None |
craftcms/cms Packagist | All versions to 4.4.9 | None |
Products include Craftcms Craft Cms.
How do I fix CVE-2023-33495?
Upgrade to a fixed version.
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-2023-33495 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-33495 exists.
Other vulnerabilities in Craftcms Craft Cms
Sources
Also known as GHSA-m3v5-gjj9-rg24.