{"id":"CVE-2026-62368","aliases":["CVE-2026-62368","GHSA-p9h3-gvpq-5539"],"related":[],"kind":"vulnerability","state":"published","title":"Snipe-IT: Stored XSS via Custom Field name in asset-list column headers","summary":"Snipe-IT is an IT asset/license management system. Prior to 8.7.0, a user with the customfields.create permission can store markup in CustomField.name, and app/Presenters/AssetPresenter.php assigns that value as an unescaped bootstrap-table header title. When another user opens an asset-list page associated with the fieldset, the stored markup executes on page load in that user's Snipe-IT session. This can expose same-origin data and perform authenticated actions with the victim's privileges, including privilege escalation when a superuser views the affected list. This issue is fixed in version 8.7.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Snipe-IT is an IT asset/license management system. Prior to 8.7.0, a user with the customfields.create permission can store markup in CustomField.name, and app/Presenters/AssetPresenter.php assigns that value as an unescaped bootstrap-table header title. When another user opens an asset-list page associated with the fieldset, the stored markup executes on page load in that user's Snipe-IT session. This can expose same-origin data and perform authenticated actions with the victim's privileges, including privilege escalation when a superuser views the affected list. This issue is fixed in version 8.7.0.","source":"cvelist"},{"lang":"en","text":"### Impact\nA 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.\n\nSTEPS TO REPRODUCE\n1. As a user with \"customfields.create\", create a Custom Field named: `<img src=x onerror=alert(1)>`\n2. Add the field to a fieldset that is associated with an asset model.\n3. Open `/hardware` -> the payload executes on load.\n\nDEMONSTRATED IMPACT\nAn 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).\n\nROOT CAUSE\n- 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.)\n### Patches\nPatched in https://github.com/grokability/snipe-it/commit/58754e4e3b86b58a0c4523012ef04a2ae990d2c8","format":"markdown","source":"ghsa"}],"published":"2026-09-24T16:40:34.110Z","modified":"2026-09-29T16:50:07.450Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 8.7.0","status":"affected"}],"vendor":"grokability","product":"snipe-it","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"8.7.0"}],"ecosystem":"Packagist","package":"snipe/snipe-it","purl":"pkg:composer/snipe/snipe-it","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"8.7.0"}],"vendor":"snipeitapp","product":"snipe-it","cpe":"cpe:2.3:a:snipeitapp:snipe-it:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/grokability/snipe-it/security/advisories/GHSA-p9h3-gvpq-5539","tags":["exploit","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/grokability/snipe-it/commit/58754e4e3b86b58a0c4523012ef04a2ae990d2c8","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/grokability/snipe-it/releases/tag/v8.7.0","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/grokability/snipe-it","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-24T17:13:19.981Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-62368","url":"https://www.cve.org/CVERecord?id=CVE-2026-62368","licence":"CVE Terms of Use","modified":"2026-09-24T17:13:38.717Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p9h3-gvpq-5539","url":"https://github.com/advisories/GHSA-p9h3-gvpq-5539","licence":"CC-BY-4.0","modified":"2026-09-24T18:28:27.139Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-62368","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62368","licence":"Public domain","modified":"2026-09-29T16:50:07.450Z"}],"updatedAt":"2026-11-25T22:59:40.813Z","epss":{"score":0.00422,"percentile":0.38479,"date":"2026-12-01T12:00:22.000Z"}}