{"id":"CVE-2024-52305","aliases":["GHSA-cgr4-c233-h733"],"url":"https://o3.security/vulnerability/CVE-2024-52305","summary":"UnoPim Stored XSS : Cookie hijacking through Create User function","details":"### 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","published":"2024-11-13T15:20:20.679Z","modified":"2026-08-12T03:51:28.889547175Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"unopim/unopim","fixedVersion":"0.1.5"}],"fix":{"url":"https://github.com/unopim/unopim/commit/9a0da7a0892c60f58df2351b5a9498dcb4cb8b7a","label":"unopim/unopim@9a0da7a"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52305.json"},{"type":"ADVISORY","url":"https://github.com/unopim/unopim/security/advisories/GHSA-cgr4-c233-h733"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52305"},{"type":"FIX","url":"https://github.com/unopim/unopim/commit/9a0da7a0892c60f58df2351b5a9498dcb4cb8b7a"},{"type":"PACKAGE","url":"https://github.com/unopim/unopim"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:28.889547175Z"}}