CVE-2026-145620: Snipe-IT before 8.8.0 Stored XSS via Uploaded File Note in Gallery Lightbox
Snipe-IT before 8.8.0 contains a stored cross-site scripting vulnerability because uploaded-file notes are HTML-encoded once but parsed twice, via the gallery lightbox anchor's data-footer attribute and the ekko-lightbox modal footer. Authenticated users with a {resource}.files permission can store a crafted note that executes JavaScript in an administrator's session when the file is opened in the gallery lightbox.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An authenticated Snipe-IT user who has the relevant {resource}.files permission can upload a file with a crafted note. Exploitation then relies on an administrator opening that file in the gallery lightbox.
Is user interaction required for impact?
Yes. The stored payload executes when the uploaded file is opened through the gallery lightbox in an administrator's session. The vulnerable path involves the lightbox anchor's data-footer attribute and the ekko-lightbox modal footer.
Which deployments are affected?
Snipe-IT versions before 8.8.0 are affected. Exposure is limited to environments where users have applicable file permissions and administrators use the gallery lightbox to open uploaded files.
What can be done before upgrading?
Restrict {resource}.files permissions to trusted users and avoid opening untrusted uploaded files through the gallery lightbox. Review existing uploaded-file notes from users with those permissions for crafted content.