CVE-2022-32060: Snipe-IT 6.0.2 vulnerable to Cross-site Scripting via arbitrary file upload in Update Branding Settings
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.89281%
CWE
Published
7/8/2022
Updated
2/3/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| snipe/snipe-it | composer | <= 6.0.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability occurs in the Branding Settings update functionality where favicon uploads are processed. The PoC demonstrates XSS execution via SVG file upload, indicating insufficient file type validation and content sanitization. In Laravel-based applications like Snipe-IT, this would typically be handled by a controller method responsible for processing branding settings updates. The combination of arbitrary file upload and subsequent XSS execution strongly points to the file upload handler in the branding settings controller as the vulnerable function.