Snipe-IT: Stored XSS via inline-served attachment
grokability snipe-it
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| snipe/snipe-it Packagist |
|
|
Original description
Snipe-IT is an IT asset/license management system. Prior to 8.6.2, UploadFileRequest sanitizes SVG content only when PHP finfo reports image/svg+xml and UploadedFilesController serves attachments inline without using StorageHelper::allowSafeInline(), allowing a low-privilege user to upload active XHTML or XML content that is later served same-origin and executes JavaScript in a viewer’s browser. This issue is fixed in version 8.6.2.
From the CVE record · GitHub_M