{"id":"CVE-2023-33197","aliases":["GHSA-6qjx-787v-6pxr"],"url":"https://o3.security/vulnerability/CVE-2023-33197","summary":"Craft CMS stored XSS in indexedVolumes","details":"### 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\n\n","published":"2023-05-26T19:17:23.375Z","modified":"2026-08-12T03:51:48.957557373Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"},"epss":{"score":0.00681,"percentile":0.50059,"asOf":"2026-09-04"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"craftcms/cms","fixedVersion":"4.4.6"}],"fix":{"url":"https://github.com/craftcms/cms/commit/8c2ad0bd313015b8ee42326af2848ee748f1d766","label":"craftcms/cms@8c2ad0b"},"references":[{"type":"WEB","url":"https://github.com/craftcms/cms/releases/tag/4.4.6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33197.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-6qjx-787v-6pxr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-33197"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/8c2ad0bd313015b8ee42326af2848ee748f1d766"},{"type":"PACKAGE","url":"https://github.com/craftcms/cms"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:48.957557373Z"}}