Loading...
Skip to main content

CVE-2026-62368 — Vulnerability in snipe/snipe-it — CVE Details

HIGH

Snipe-IT: Stored XSS via Custom Field name in asset-list column headers

Published September 24, 2026Updated September 24, 2026Source: osv

Summary

### 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 1. As a user with "customfields.create", create a Custom Field named: `<img src=x onerror=alert(1)>` 2. Add the field to a fieldset that is associated with an asset model. 3. 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

Advisory Timeline

  • First published September 24, 2026 (18 days ago).
  • Last revised September 24, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update snipe/snipe-it to 8.7.0 or later
composer require "snipe/snipe-it:^8.7.0"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
snipe/snipe-it
packagist
3.2.0, v0.1.0, v0.1.1, v0.1.2 (+276 more)8.7.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2026-62368?
Snipe-IT: Stored XSS via Custom Field name in asset-list column headers This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
How do I check if my project is affected by CVE-2026-62368?
CVE-2026-62368 affects snipe/snipe-it. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-62368 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.1

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-p9h3-gvpq-5539

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies