CVE-2026-61807: Snipe-IT Cross-Site Scripting Vulnerability
MODERATECVE-2026-61807 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Snipe-IT libraries in the Packagist ecosystem. The issue involves stored dom xss via table selected-count ids. Remediation is available by upgrading affected packages to version 8.6.2.
CVE-2026-61807 at a Glance
How to Fix CVE-2026-61807
To remediate this vulnerability, upgrade all affected Snipe-IT dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade snipe/snipe-it to 8.6.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for snipe/snipe-it
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-61807, inspect your project dependencies for Snipe-IT:
inspect dependencies for snipe/snipe-it
Analyze the terminal output to locate any version of Snipe-IT in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.6.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Snipe-IT, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-61807 Affected Snipe-IT Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
snipe/snipe-it
|
Packagist |
< 8.6.2
|
8.6.2
|
References
Frequently Asked Questions
What is CVE-2026-61807?
Which Snipe-IT versions are affected?
What version fixes CVE-2026-61807?
Is snipe/snipe-it affected?
What CWE is associated with CVE-2026-61807?
How can I check Packagist dependencies for CVE-2026-61807?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c8qc-wf67-342w",
"modified" : "2026-08-19T19:32:32Z",
"published" : "2026-08-19T19:32:32Z",
"aliases" : [ "CVE-2026-61807" ],
"summary" : "Snipe-IT: Stored DOM XSS via table selected-count IDs",
"details" : "### Impact\nThe 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().\n\nAffected commit:\n\n`b224cc636c6780386e3f73f03d1171f52ab4c37a`\n\nExample payload for a manufacturer or supplier name:\n`x[foo=\"><svg/onload=alert(1)>\"]>`\n\nThe issue appears to involve the following flow:\n\nStored supplier/manufacturer name\n-> table component data-selected-count-id\n-> browser decodes the attribute\n-> JavaScript reads countId\n-> countId is used as a selector\n-> countId.substring(1) is concatenated into HTML\n-> jQuery .after() inserts attacker-controlled markup\n-> JavaScript executes in the victim's browser\n\nPotential 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.\n\n### Patches\nPatched in https://github.com/grokability/snipe-it/commit/d12ad3d53869443b96b663ba3ce2673ef343da71",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "snipe/snipe-it"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.6.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/grokability/snipe-it/security/advisories/GHSA-c8qc-wf67-342w"
}, {
"type" : "WEB",
"url" : "https://github.com/grokability/snipe-it/commit/d12ad3d53869443b96b663ba3ce2673ef343da71"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/grokability/snipe-it"
}, {
"type" : "WEB",
"url" : "https://github.com/grokability/snipe-it/releases/tag/v8.6.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-19T19:32:32Z",
"nvd_published_at" : null
}
}