CVE-2022-1445: Stored cross-site scripting in Snipe-IT
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53915%
CWE
Published
4/25/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
snipe/snipe-it | composer | < 5.4.3 | 5.4.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped output of the 'checked_out_to' parameter. The patch adds the e() helper function to escape this value, confirming the lack of output encoding in the original transformAsset method. This method is part of the data transformation pipeline that prepares data for display, making it the logical point where XSS would occur.