CVE-2025-55742: UnoPim Stored Cross-site Scripting Vulnerability in User Creation Functionality

unopim/unopim Updated 02 Oct 2025

Summary

21/08/2025
Yes i
Moderate
6.8

CVE-2025-55742: UnoPim has Stored Cross-site Scripting vulnerability in user creation functionality. Affects unopim/unopim versions < 0.2.1. Fixed in 0.2.1. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

UnoPim is an open-source e-commerce platform that provides a range of functionalities for managing online stores, including product management, user management, and order processing. The platform is built on PHP and utilizes the Packagist ecosystem for package management. This vulnerability specifically affects the user creation functionality, allowing attackers to exploit the system through improper file sanitization.

Vulnerability Detail

The vulnerability arises from a stored cross-site scripting (XSS) flaw in the user creation endpoint of UnoPim. Attackers can upload malicious SVG files disguised as GIF files by manipulating the MIME type. This allows them to execute arbitrary JavaScript in the context of another user's session, potentially leading to unauthorized actions on behalf of the victim. The vulnerability is rooted in the inadequate validation of file types and the failure to properly sanitize uploaded content.

How To Fix

Minimum fixed version

0.2.1

This is the first release that contains the fix.

composer require unopim/unopim:0.2.1

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

Workaround

As a temporary workaround, you can restrict file uploads to specific allowed extensions and MIME types. For example, you can modify the file upload handling code to check for allowed extensions like '.jpg', '.png', and '.gif' and reject any files that do not meet these criteria.

Conclusion

The CVE-2025-55742 vulnerability in UnoPim poses a significant risk due to its potential for stored cross-site scripting attacks. It is crucial for users to update to the patched version and implement additional security measures to safeguard against such vulnerabilities.

See every vulnerability recorded for unopim/unopim →

Share this vulnerability

FAQ

The vulnerability is a stored cross-site scripting (XSS) flaw that allows attackers to execute malicious scripts in the context of another user's session.

If you are using UnoPim version 0.2.0 or earlier, your application is vulnerable. You can check your application's composer.lock file or use Vulert to monitor for vulnerabilities.

An attacker could perform actions on behalf of another user, such as creating products or accessing sensitive information, leading to unauthorized access and data manipulation.

Yes, the vulnerability has been patched in version 0.2.1 of the UnoPim package. It is recommended to update to this version.

Vulert monitors open-source vulnerabilities in your software using the composer.lock file, providing real-time alerts for any detected issues, including this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for unopim/unopim.

How To Fix

Minimum fixed version

0.2.1

This is the first release that contains the fix.

composer require unopim/unopim:0.2.1

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