{"id":"CVE-2023-33196","aliases":["GHSA-cjmm-x9x9-m2w5"],"url":"https://o3.security/vulnerability/CVE-2023-33196","summary":"Craft CMS stored XSS in review volume","details":"### Summary\nXSS can be triggered by review volumes\n\n### PoC\n\n    1. Access setting tab\n    2. Create new assets\n    3. In assets name inject payload: \"<script>alert(1337)</script>\n    4. Click Utilities tab\n    5. Choose all volumes, or volume trigger xss\n    6. Click Update asset indexes.\n    7. Wait to assets update success.\n    8. Progress complete.\n    9. Click on review button will trigger XSS\n\n### Root cause\nFunction: index.php?p=admin/actions/asset-indexes/process-indexing-session&v=1680710595770\nAfter loading completed, progess will load: \n\"skippedEntries\"\nand\n\"missingEntries\"\nThese parameters is not yet filtered, I just tried \"skippedEntries\" but I think it will be work with \"missingEntries\"\n\n### My reponse:\n{\n  \"session\": {\n    \"id\": 10,\n    \"indexedVolumes\": {\n      \"6\": \"\\\"<script>alert(1337)</script>\"\n    },\n    \"totalEntries\": 2235,\n    \"processedEntries\": 2235,\n    \"cacheRemoteImages\": true,\n    \"listEmptyFolders\": false,\n    \"isCli\": false,\n    \"actionRequired\": true,\n    \"dateCreated\": \"Apr 5, 2023, 9:03:16 AM\",\n    \"skippedEntries\": [\n      \"\\\"<script>alert(1337)</script>/assetpreviews/Image.php\",\n      \"\\\"<script>alert(1337)</script>/assetpreviews/Pdf.php\"\n    ],\n    \"missingEntries\": {\n      \"folders\": [],\n      \"files\": []\n    },\n    \"processIfRootEmpty\": false\n  },\n  \"skipDialog\": false\n}\n\n\n\nResolved in https://github.com/craftcms/cms/commit/053d7119697e480ff81c5723bb9a33eaa49e0fc7","published":"2023-05-26T20:22:23.637Z","modified":"2026-08-12T03:51:16.698710946Z","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.00653,"percentile":0.49592,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"craftcms/cms","fixedVersion":"4.4.7"}],"fix":{"url":"https://github.com/craftcms/cms/commit/053d7119697e480ff81c5723bb9a33eaa49e0fc7","label":"craftcms/cms@053d711"},"references":[{"type":"WEB","url":"https://github.com/craftcms/cms/releases/tag/4.4.7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33196.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-cjmm-x9x9-m2w5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-33196"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/053d7119697e480ff81c5723bb9a33eaa49e0fc7"},{"type":"PACKAGE","url":"https://github.com/craftcms/cms"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:16.698710946Z"}}