CVE-2023-33194 CraftCMS stored XSS in Quick Post widget error message
CraftCMS allows stored XSS via unfiltered input in Quick Post validation errors, enabling attackers to execute scripts in victim browsers.
- 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-2023-33194?
CVE-2023-33194 is a low-severity cross-site scripting vulnerability in Craftcms Craft Cms, published on 26 May 2023. 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 is a CMS for creating custom digital experiences on the web.The platform does not filter input and encode output in Quick Post validation error message, which can deliver an XSS payload. Old CVE fixed the XSS in label HTML but didn’t fix it when clicking save. This issue was patched in version 4.4.6.
Which versions are affected by CVE-2023-33194?
4 open source packages ship an affected version, including craftcms/cms. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
craftcms/cms Packagist | From 3.0.0 | 3.8.6 |
craftcms/cms Packagist | From 3.0.0 | 3.8.6 |
craftcms/cms Packagist | From 4.0.0-RC1 | 4.4.6 |
craftcms/cms Packagist | From 4.0.0-RC1 | 4.4.6 |
Products include Craftcms Craft Cms, Craftercms Craftercms.
How do I fix CVE-2023-33194?
Upgrade craftcms/cms to a fixed version for your release line: 3.8.6 or 4.4.6.
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-33194 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-33194 exists.
Other vulnerabilities in Craftcms Craft Cms
Sources
Also known as GHSA-3wxg-w96j-8hq9.