{"id":"GHSA-jfxw-6c5v-c42f","aliases":["CVE-2023-46722"],"title":"Pimcore Admin Classic Bundle Cross-site Scripting (XSS) in PDF previews","description":"### Impact\nThis vulnerability has the potential to steal a user's cookie and gain unauthorized access to that user's account through the stolen cookie or redirect users to other malicious sites.\n\nProof of Concept\nStep 1. Go to /admin and login.\nStep 2. In Documents, go to home -> click on Sample Content -> click Document folder\nStep 3. Upload file PDF content XSS payload\n\n### Patches\nApply patches \nhttps://github.com/pimcore/pimcore/commit/757375677dc83a44c6c22f26d97452cc5cda5d7c.patch\nhttps://github.com/pimcore/admin-ui-classic-bundle/commit/19fda2e86557c2ed4978316104de5ccdaa66d8b9.patch\n\n### Workarounds\nUpdate to version 1.2.0 or apply patches manually\nhttps://github.com/pimcore/pimcore/commit/757375677dc83a44c6c22f26d97452cc5cda5d7c.patch\nhttps://github.com/pimcore/admin-ui-classic-bundle/commit/19fda2e86557c2ed4978316104de5ccdaa66d8b9.patch","severity":"medium","score":6.1,"published":"2023-11-01T14:35:42.000Z","modified":"2024-02-16T08:06:58.242Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"pimcore/admin-ui-classic-bundle","ranges":[{"events":[{"introduced":"0"},{"fixed":"1.2.0"}],"type":"ECOSYSTEM"}],"versions":["v1.0.0","v1.0.0-BETA1","v1.0.0-RC1","v1.0.0-RC2","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.0.6","v1.1.0","v1.1.0-RC1","v1.1.1","v1.1.2","v1.1.3","v1.1.4","v1.2","v1.2.0-RC1"],"fixed":["1.2.0"]}],"references":["https://github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-jfxw-6c5v-c42f","https://nvd.nist.gov/vuln/detail/CVE-2023-46722","https://github.com/pimcore/admin-ui-classic-bundle/commit/19fda2e86557c2ed4978316104de5ccdaa66d8b9","https://github.com/pimcore/pimcore/commit/757375677dc83a44c6c22f26d97452cc5cda5d7c","https://github.com/pimcore/admin-ui-classic-bundle"],"sources":[{"name":"OSV","id":"GHSA-jfxw-6c5v-c42f","modified":"2024-02-16T08:06:58.242078Z","url":"https://osv.dev/vulnerability/GHSA-jfxw-6c5v-c42f"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}]}