Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. unopim/unopim
  4. ›
  5. CVE-2024-52305

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

November 13, 2024

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.

References

  • github.com/advisories/GHSA-cgr4-c233-h733
  • github.com/unopim/unopim
  • github.com/unopim/unopim/commit/9a0da7a0892c60f58df2351b5a9498dcb4cb8b7a
  • github.com/unopim/unopim/security/advisories/GHSA-cgr4-c233-h733
  • nvd.nist.gov/vuln/detail/CVE-2024-52305

Code Behaviors & Features

Detect and mitigate CVE-2024-52305 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.1.5

Fixed versions

  • 0.1.5

Solution

Upgrade to version 0.1.5 or above.

Impact

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-616: Incomplete Identification of Uploaded File Variables (PHP)
  • CWE-692: Incomplete Denylist to Cross-Site Scripting
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/unopim/unopim/CVE-2024-52305.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.