{"id":"CVE-2023-33197","aliases":["CVE-2023-33197","GHSA-6qjx-787v-6pxr"],"related":[],"kind":"vulnerability","state":"published","title":"Craft CMS stored XSS in indexedVolumes","summary":"Craft is a CMS for creating custom digital experiences on the web. Cross-site scripting (XSS) can be triggered via the Update Asset Index utility. This issue has been patched in version 4.4.6.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Craft is a CMS for creating custom digital experiences on the web. Cross-site scripting (XSS) can be triggered via the Update Asset Index utility. This issue has been patched in version 4.4.6.","source":"cvelist"},{"lang":"en","text":"### Summary\nXSS can be triggered via the Update Asset Index utility\n\n### PoC\n1. Access setting tab\n2. Create new assets\n3. In assets name inject payload: \"<script>alert(26)</script>\n4. Click Utilities tab\n5. Choose all volumes, or volume trigger xss\n7. Click Update asset indexes.\n\nXSS will be triggered\n\nJson response volumes name makes triggers the payload\n\n    \"session\":{\"id\":1,\"indexedVolumes\":{\"1\":\"\\\"<script>alert(26)</script>\"},\n\nIt’s run on every POST request in the utility.\n\nResolved in https://github.com/craftcms/cms/commit/8c2ad0bd313015b8ee42326af2848ee748f1d766","format":"markdown","source":"ghsa"}],"published":"2023-05-26T13:56:26.000Z","modified":"2026-09-10T03:50:01.280Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"version":">= 4.0.0-RC1, <= 4.4.5","status":"affected"}],"vendor":"craftcms","product":"cms","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0-RC1","status":"affected","fixed":"4.4.6"}],"ecosystem":"Packagist","package":"craftcms/cms","purl":"pkg:composer/craftcms/cms","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.4.6"}],"vendor":"craftcms","product":"craft_cms","cpe":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-6qjx-787v-6pxr","tags":["exploit","patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/craftcms/cms/commit/8c2ad0bd313015b8ee42326af2848ee748f1d766","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/craftcms/cms/releases/tag/4.4.6","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-33197","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/craftcms/cms","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-01-14T19:32:08.299Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-33197","url":"https://www.cve.org/CVERecord?id=CVE-2023-33197","licence":"CVE Terms of Use","modified":"2025-01-14T19:32:21.443Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6qjx-787v-6pxr","url":"https://github.com/advisories/GHSA-6qjx-787v-6pxr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:01.280Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-33197","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-33197","licence":"Public domain","modified":"2026-06-17T06:01:17.287Z"}],"updatedAt":"2026-11-25T22:58:24.400Z","epss":{"score":0.00681,"percentile":0.53693,"date":"2026-12-01T12:00:22.000Z"}}