CVE-2026-61807: Snipe-IT: Stored DOM XSS via table selected-count IDs
Impact The table component derives data-selected-count-id from the component $name value. On manufacturer and supplier detail pages, stored manufacturer or supplier names are passed into affected table components as that name value.
Published Aug 19, 2026
Affected packages
snipe/snipe-it
- Ecosystem
- Composer (PHP)
- Affected
- < 8.6.2
- Fixed in
- 8.6.2
- Check
composer show snipe/snipe-it
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
The table component derives data-selected-count-id from the component $name value. On manufacturer and supplier detail pages, stored manufacturer or supplier names are passed into affected table components as that name value. The client-side JavaScript later reads the browser-decoded data-selected-count-id, uses it as a selector, and concatenates countId.substring(1) directly into an HTML string passed to jQuery .after().
Affected commit:
b224cc636c6780386e3f73f03d1171f52ab4c37a
Example payload for a manufacturer or supplier name: x[foo="><svg/onload=alert(1)>"]>
The issue appears to involve the following flow:
Stored supplier/manufacturer name -> table component data-selected-count-id -> browser decodes the attribute -> JavaScript reads countId -> countId is used as a selector -> countId.substring(1) is concatenated into HTML -> jQuery .after() inserts attacker-controlled markup -> JavaScript executes in the victim's browser
Potential impact includes arbitrary JavaScript execution in the browser of an authenticated Snipe-IT user who views the affected supplier or manufacturer detail page. If the victim has elevated privileges, this may allow access to data or actions available to that user's session.
Patches
Patched in https://github.com/grokability/snipe-it/commit/d12ad3d53869443b96b663ba3ce2673ef343da71
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-62368
Snipe-IT: Stored XSS via Custom Field name in asset-list column headers
high8.1Sep 24, 2026CVE-2026-63493
Snipe-IT: 2FA bypass via the API token flow
high8.6Sep 24, 2026CVE-2026-63498
Snipe-IT: Stored XSS via Inline XML Rendering in the Uploaded Files API
high8.7Sep 24, 2026CVE-2026-55452
Snipe-IT has CSV formula injection in Activity Report export
medium4.8Aug 28, 2026CVE-2026-55460
Snipe-IT has an authorization bypass on bulk editing users
high7.1Aug 28, 2026CVE-2026-55461
Snipe-IT has an Open Redirect After User Edit
medium6.1Aug 28, 2026
