All vulnerabilities

Servers and applications

GHSA-f32g-98wf-c63c

Stored XSS: uploaded-file note rendered unescaped into gallery lightbox footer runs in a file viewer's session

Severity
High 8.7
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
20 Nov 2026
Fixed in
8.8.0
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

Snipe-IT stores the free-text note attached to an uploaded file without server-side sanitization, and its API transformer applies only a single layer of HTML-entity encoding (e()). When a viewer switches an object's Files tab into the gallery "custom view", the client-side customViewFormatter concatenates that note into the data-footer attribute of an anchor that bootstrap-table inserts through jQuery .html()/.after(). The HTML parser decodes the entities inside the attribute, and when the viewer clicks the thumbnail the bundled ekko-lightbox reads the decoded value from .data('footer') and rebuilds the modal footer as an HTML string, re-parsing the note as live markup. Any authenticated user holding only the granular {resource}.files permission (for example assets.files`) can therefore store a payload that executes JavaScript in the session of a higher-privileged viewer (an admin or superuser reviewing the file), yielding stored cross-site scripting across a privilege boundary.

From grokability/snipe-it's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · github:grokability/snipe-it
  • Every version before 8.8.0

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
29,869,543Docker Hub, 15 Nov 2026
GitHub stars
15,189GitHub, 15 Nov 2026
Forks
4,068GitHub, 15 Nov 2026
Latest release
v8.8.3GitHub, 15 Nov 2026
Released
22 Oct 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References