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.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
References
github.com/...ipe-it/security/advisories/GHSA-jhph-5q74-pmfx
github.com/...ipe-it/security/advisories/GHSA-jhph-5q74-pmfx
github.com/...ommit/000cea0a622d586366cf60d2240c7c2a4b17c955
github.com/grokability/snipe-it/releases/tag/v8.6.2