{"id":"GHSA-6qjx-787v-6pxr","aliases":["CVE-2023-33197"],"title":"Craft CMS stored XSS in indexedVolumes","description":"### 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","severity":"medium","score":5.5,"published":"2023-05-26T13:56:26.000Z","modified":"2026-09-10T03:50:01.280Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"craftcms/cms","ranges":[{"events":[{"introduced":"4.0.0-RC1"},{"fixed":"4.4.6"}],"type":"ECOSYSTEM"}],"versions":["4.0.0","4.0.0-RC1","4.0.0-RC2","4.0.0-RC3","4.0.0.1","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.5.1","4.0.5.2","4.0.6","4.1.0","4.1.0.1","4.1.0.2","4.1.1","4.1.2","4.1.3","4.1.4","4.1.4.1","4.2.0","4.2.0.1","4.2.0.2","4.2.1","4.2.1.1","4.2.2","4.2.3","4.2.4","4.2.5","4.2.5.1","4.2.5.2","4.2.6","4.2.7","4.2.8","4.3.0","4.3.1","4.3.10","4.3.11","4.3.2","4.3.2.1","4.3.3","4.3.4","4.3.5","4.3.6","4.3.6.1","4.3.7","4.3.7.1","4.3.8","4.3.8.1","4.3.8.2","4.3.9","4.4.0","4.4.0-beta.1","4.4.0-beta.2","4.4.0-beta.3","4.4.0-beta.4","4.4.0-beta.5","4.4.0-beta.6","4.4.0-beta.7","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5"],"fixed":["4.4.6"]}],"references":["https://github.com/craftcms/cms/security/advisories/GHSA-6qjx-787v-6pxr","https://nvd.nist.gov/vuln/detail/CVE-2023-33197","https://github.com/craftcms/cms/commit/8c2ad0bd313015b8ee42326af2848ee748f1d766","https://github.com/craftcms/cms","https://github.com/craftcms/cms/releases/tag/4.4.6"],"sources":[{"name":"OSV","id":"GHSA-6qjx-787v-6pxr","modified":"2026-09-10T03:50:01.280788657Z","url":"https://osv.dev/vulnerability/GHSA-6qjx-787v-6pxr"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5}]}