CVE-2023-33194
published 2023-05-26CVE-2023-33194: 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…
PriorityP418medium4.8CVSS 3.1
AVNACLPRHUIRSCCLILAN
EPSS
0.62%
45.1th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| craftcms | cms | — | — |
| craftcms | cms | — | — |
| craftcms | cms | >= 3.0.0 < 3.8.6 | 3.8.6 |
| craftcms | cms | >= 4.0.0-RC1 < 4.4.6 | 4.4.6 |
| craftcms | craft_cms | >= 3.0.0 < 3.8.6 | 3.8.6 |
| craftcms | craft_cms | >= 4.0.1 < 4.4.6 | 4.4.6 |
| craftercms | craftercms | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CraftCMS stored XSS in Quick Post widget error message
osv·2023-05-26
CVE-2023-33194 [LOW] CraftCMS stored XSS in Quick Post widget error message
CraftCMS stored XSS in Quick Post widget error message
### Summary
The platform does not filter input and encode output in Quick Post validation error message, which can deliver an XSS payload.
### Details
Old CVE fixed the XSS in label HTML but didn’t fix it when clicking save.
### PoC
1. Login at admin
2. Go to setting
3. Create a Section
4. On Entry page, click Edit label
5. Inject the XSS payload into the label and save
6. On the admin dashboard choose new widget -> Quick Post
7. In Quick Post, click save with blank slug; The XSS will be executed
"errors":{"title":["alert('nono') cannot be blank."],"slug":["Slug cannot be blank."]
Fixed in https://github.com/craftcms/cms/commit/9d0cd0bda7c8a830a3373f8c0f06943e519ac888
GHSA
CraftCMS stored XSS in Quick Post widget error message
ghsa·2023-05-26
CVE-2023-33194 [LOW] CWE-79 CraftCMS stored XSS in Quick Post widget error message
CraftCMS stored XSS in Quick Post widget error message
### Summary
The platform does not filter input and encode output in Quick Post validation error message, which can deliver an XSS payload.
### Details
Old CVE fixed the XSS in label HTML but didn’t fix it when clicking save.
### PoC
1. Login at admin
2. Go to setting
3. Create a Section
4. On Entry page, click Edit label
5. Inject the XSS payload into the label and save
6. On the admin dashboard choose new widget -> Quick Post
7. In Quick Post, click save with blank slug; The XSS will be executed
"errors":{"title":["alert('nono') cannot be blank."],"slug":["Slug cannot be blank."]
Fixed in https://github.com/craftcms/cms/commit/9d0cd0bda7c8a830a3373f8c0f06943e519ac888
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/craftcms/cms/commit/9d0cd0bda7c8a830a3373f8c0f06943e519ac888https://github.com/craftcms/cms/releases/tag/4.4.6https://github.com/craftcms/cms/security/advisories/GHSA-3wxg-w96j-8hq9https://github.com/craftcms/cms/commit/9d0cd0bda7c8a830a3373f8c0f06943e519ac888https://github.com/craftcms/cms/releases/tag/4.4.6https://github.com/craftcms/cms/security/advisories/GHSA-3wxg-w96j-8hq9
2023-05-26
Published