7.3
CWE
616 692 79 352
Advisory Published
Advisory Published
Updated

CVE-2024-52305: UnoPim Stored XSS : Cookie hijacking through Create User function

First published: Wed Nov 13 2024(Updated: )

### Summary A 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. ### Details 1. Login as admin 2. Go to Create User 3. Fill up everything in the registration form then upload SVG image as a profile picture 4. In SVG image, add script tag to prepare for XSS attack 5. Complete the Create User process 6. Right click at the image to obtain image URL address 7. XSS triggered ### PoC The below link is a private YouTube video for PoC. https://youtu.be/5j8owD0--1A ### Impact The stored XSS can lead to session hijacking and privilege escalation, effectively bypassing any CSRF protections in place.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
composer/unopim/unopim<0.1.5
0.1.5
Webkul Unopim<0.1.5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-52305?

    CVE-2024-52305 has a medium severity rating due to the potential for an attacker to create an admin account and execute malicious scripts.

  • How do I fix CVE-2024-52305?

    To fix CVE-2024-52305, upgrade the Unopim package to version 0.1.5 or later as it contains the necessary security patches.

  • Which versions of Unopim are affected by CVE-2024-52305?

    CVE-2024-52305 affects the Unopim package versions up to and including 0.1.5.

  • What types of files can be uploaded due to CVE-2024-52305?

    CVE-2024-52305 allows an attacker to upload malicious SVG files that can contain embedded scripts.

  • What are the potential impacts of exploiting CVE-2024-52305?

    Exploitation of CVE-2024-52305 could lead to unauthorized access and execution of malicious scripts on the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203