CVE-2024-50637: UnoPim Cross-site Scripting Vulnerability in User Creation

unopim/unopim Updated 02 Oct 2025

Summary

06/11/2024
Yes i
Moderate
6.1

CVE-2024-50637: UnoPim Cross-site Scripting vulnerability. Affects unopim/unopim versions < 0.1.4. Fixed in 0.1.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

UnoPim is a package designed for user management within applications, allowing developers to create and manage user accounts efficiently. It is built on the Packagist ecosystem and is commonly used in PHP applications. However, versions 0.1.3 and below have been found to be vulnerable to a Cross-site Scripting (XSS) attack, particularly in the Create User function, which can compromise user data and application integrity.

Vulnerability Detail

The vulnerability arises from improper handling of SVG file extensions in the Create User function of UnoPim. Attackers can exploit this flaw to inject malicious scripts into the application, leading to potential cookie theft and unauthorized access to user sessions. This XSS vulnerability is classified under CWE-79, indicating a failure to sanitize user input properly, which can have severe implications for user privacy and security.

How To Fix

Minimum fixed version

0.1.4

This is the first release that contains the fix.

composer require unopim/unopim:0.1.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, consider implementing input validation and sanitization for user inputs, especially for file uploads. This can help mitigate the risk of XSS attacks until the package is updated. Additionally, avoid allowing SVG file uploads until the vulnerability is resolved.

Conclusion

The UnoPim package has a critical vulnerability that allows for Cross-site Scripting attacks, particularly in its user creation functionality. It is essential to update to version 0.1.4 or later to mitigate this risk. Users should also consider implementing additional security measures and monitoring tools like Vulert to stay informed about potential vulnerabilities.

See every vulnerability recorded for unopim/unopim →

Share this vulnerability

FAQ

XSS is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users, potentially leading to data theft and session hijacking.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your composer.lock file without any signup.

Exploitation of this vulnerability can lead to cookie theft, unauthorized access to user accounts, and potential data breaches, compromising user privacy and application security.

Yes, you can implement input validation and sanitization for user inputs and restrict SVG file uploads until the vulnerability is patched.

The CVSS score of this vulnerability is 6.1, indicating a moderate severity level that requires attention.

Related vulnerabilities

Recent vulnerabilities recorded for unopim/unopim.

How To Fix

Minimum fixed version

0.1.4

This is the first release that contains the fix.

composer require unopim/unopim:0.1.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback