Stored XSS via spoofed image MIME type
Published Aug 21, 2025 · Updated Aug 21, 2025
Stored XSS in UnoPim before 0.2.1 allows remote authenticated users to run script in an administrator's browser through a crafted profile image. The user-image sanitizer trusts the detected MIME type, so a GIF magic prefix lets an HTML file containing SVG script bypass SVG sanitization and remain stored. A victim administrator must open the uploaded image URL; the script then performs application actions with that administrator's session, while HttpOnly blocks direct cookie reads.
Summary
What happened
Stored XSS in UnoPim before 0.2.1 allows remote authenticated users to run script in an administrator's browser through a crafted profile image. The user-image sanitizer trusts the detected MIME type, so a GIF magic prefix lets an HTML file containing SVG script bypass SVG sanitization and remain stored. A victim administrator must open the uploaded image URL; the script then performs application actions with that administrator's session, while HttpOnly blocks direct cookie reads.
The record
- CVE
- CVE-2025-55742
- Published
- Aug 21, 2025
- Updated
- Aug 21, 2025
- Vendor
- Bagisto
- Product
- UnoPim
- Classifications
- CWE-79, CWE-20, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 21, 2025CVE publishedPublication date reported by the CVE source.
- Aug 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.2.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-xr97-25v7-hc2q proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo