CVE-2026-61807: Snipe-IT Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-c8qc-wf67-342w
CWE-79
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-61807
GHSA Identifier GHSA-c8qc-wf67-342w
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Snipe-IT
Package Ecosystem Packagist
Published Date
Last Updated

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.

snipe/snipe-it fixed: 8.6.2
Upgrade snipe/snipe-it to 8.6.2
Verify Direct and Transitive Dependencies

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

### 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

CVE-2026-61807 Affected Snipe-IT Versions

1 component(s)
Fixed Versions:
8.6.2
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?
CVE-2026-61807 is a security vulnerability in Snipe-IT involving Stored DOM XSS via table selected-count IDs under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Snipe-IT versions are affected?
Affected versions include releases prior to 8.6.2 across affected packages: snipe/snipe-it.
What version fixes CVE-2026-61807?
Upgrading to 8.6.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is snipe/snipe-it affected?
Yes, snipe/snipe-it is affected in releases prior to 8.6.2. Upgrade your dependency to 8.6.2 or later.
What CWE is associated with CVE-2026-61807?
CVE-2026-61807 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Packagist dependencies for CVE-2026-61807?
Run the dependency tree command: 'inspect dependencies for snipe/snipe-it'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}