{"id":"GHSA-cgr4-c233-h733","aliases":["CVE-2024-52305"],"title":"UnoPim Stored XSS : Cookie hijacking through Create User function","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"### Summary\nA vulnerability exists in the Create User process, allowing the creation of a new admin account with an option to upload a profile image. An attacker can upload a malicious SVG file containing an embedded script. When the profile image is accessed, the embedded script executes, leading to the potential theft of session cookies.\n\n### Details\n1. Login as admin\n2. Go to Create User\n3. Fill up everything in the registration form then upload SVG image as a profile picture\n4. In SVG image, add script tag to prepare for XSS attack\n5. Complete the Create User process\n6. Right click at the image to obtain image URL address\n7. XSS triggered\n### PoC\nThe below link is a private YouTube video for PoC. \nhttps://youtu.be/5j8owD0--1A\n\n### Impact\nThe stored XSS can lead to session hijacking and privilege escalation, effectively bypassing any CSRF protections in place.\n","severity":"high","score":7.3,"published":"2024-11-13T18:37:15.000Z","modified":"2024-11-13T19:12:23.684Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"unopim/unopim","sources":[{"name":"OSV · GHSA-cgr4-c233-h733","url":"https://osv.dev/vulnerability/GHSA-cgr4-c233-h733"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"0.1.5"}],"type":"ECOSYSTEM"}],"versions":["v0.1.0","v0.1.1","v0.1.2","v0.1.3","v0.1.4"],"fixed":["0.1.5"]}],"sourceAffected":[],"references":["https://github.com/unopim/unopim/security/advisories/GHSA-cgr4-c233-h733","https://nvd.nist.gov/vuln/detail/CVE-2024-52305","https://github.com/unopim/unopim/commit/9a0da7a0892c60f58df2351b5a9498dcb4cb8b7a","https://github.com/unopim/unopim"],"sources":[{"name":"OSV","id":"GHSA-cgr4-c233-h733","modified":"2024-11-13T19:12:23.684065Z","url":"https://osv.dev/vulnerability/GHSA-cgr4-c233-h733"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.9}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T01:45:31.656Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}