CVE-2026-62368: Snipe-IT: Stored XSS via Custom Field name in asset-list column headers
Impact A user with the "customfields.create" permission can store HTML/JS in a Custom Field name, which is later rendered as an asset-list column title WITHOUT escaping at app/Presenters/AssetPresenter.php line 364 ('title' = $field-name) and injected into the table header by the bundled bootstrap-table plugin. It executes for anyone who opens an asset list (e.g.
Published Sep 24, 2026
Affected packages
snipe/snipe-it
- Ecosystem
- Composer (PHP)
- Affected
- < 8.7.0
- Fixed in
- 8.7.0
- Check
composer show snipe/snipe-it
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A user with the "customfields.create" permission can store HTML/JS in a Custom Field name, which is later rendered as an asset-list column title WITHOUT escaping at app/Presenters/AssetPresenter.php line 364 ('title' => $field->name) and injected into the table header by the bundled bootstrap-table plugin. It executes for anyone who opens an asset list (e.g. /hardware), including superusers, on page load with no interaction. Since "customfields.create" can be granted to non-superusers, a lower-privileged user gets script execution in a superuser's session -> privilege escalation.
STEPS TO REPRODUCE
- As a user with "customfields.create", create a Custom Field named: ``
- Add the field to a fieldset that is associated with an asset model.
- Open
/hardware-> the payload executes on load.
DEMONSTRATED IMPACT An account holding ONLY "customfields.create" (HTTP 403 on /users) planted a payload that, when a superuser opened /hardware, issued an authenticated request in that session and granted the attacker's own account the "superuser" permission (afterwards: GET /users = 200, isSuperUser() = true).
ROOT CAUSE
- Blade {{ }} encodes the data-columns attribute, but the browser decodes it back before bootstrap-table reads the title; bootstrap-table then renders the header title unescaped because its table-level "escape" option defaults to false and is never enabled. (The per-column 'escape' => true covers cell values, not the header title.)
Patches
Patched in https://github.com/grokability/snipe-it/commit/58754e4e3b86b58a0c4523012ef04a2ae990d2c8
Credited to Mickey777777.
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-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, 2026CVE-2026-55462
Snipe-IT has an authorization bypass on print inventory page
medium4.3Aug 28, 2026
