CVE-2025-64027: Snipe/snipe it Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-8x9v-8qgj-945x
CWE-79
Published
Advisory Summary

CVE-2025-64027 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Snipe/snipe it libraries in the Packagist ecosystem. The issue involves snipe-it has cross-site scripting vulnerability in csv import workflow. Remediation is available in the latest vendor maintenance releases.

CVE-2025-64027 at a Glance

CVE Identifier CVE-2025-64027
GHSA Identifier GHSA-8x9v-8qgj-945x
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/snipe it
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2025-64027

To remediate this vulnerability, upgrade all affected Snipe/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: Latest secure release
Upgrade snipe/snipe-it to Latest secure release
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-2025-64027, inspect your project dependencies for Snipe/snipe it:

inspect dependencies for snipe/snipe-it

Analyze the terminal output to locate any version of Snipe/snipe it in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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/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

Snipe-IT v8.3.4 (build 20218) contains a reflected cross-site scripting (XSS) vulnerability in the CSV Import workflow. When an invalid CSV file is uploaded, the application returns a progress_message value that is rendered as raw HTML in the admin interface. An attacker can intercept and modify the POST /livewire/update request to inject arbitrary HTML or JavaScript into the progress_message. Because the server accepts the modified input without sanitization and reflects it back to the user, arbitrary JavaScript executes in the browser of any authenticated admin who views the import page.

CVE-2025-64027 Affected Snipe/snipe it Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
snipe/snipe-it
Packagist
≤ 8.3.4

References

Frequently Asked Questions

What is CVE-2025-64027?
CVE-2025-64027 is a security vulnerability in Snipe/snipe it involving Snipe-IT has Cross-site Scripting vulnerability in CSV import workflow under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Snipe/snipe it versions are affected?
Affected versions include releases prior to current release patches across affected packages: snipe/snipe-it.
What version fixes CVE-2025-64027?
Upgrading to current release patches (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 Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-64027?
CVE-2025-64027 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-2025-64027?
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-8x9v-8qgj-945x",
  "modified" : "2025-11-20T21:56:31Z",
  "published" : "2025-11-20T18:31:01Z",
  "aliases" : [ "CVE-2025-64027" ],
  "summary" : "Snipe-IT has Cross-site Scripting vulnerability in CSV import workflow",
  "details" : "Snipe-IT v8.3.4 (build 20218) contains a reflected cross-site scripting (XSS) vulnerability in the CSV Import workflow. When an invalid CSV file is uploaded, the application returns a progress_message value that is rendered as raw HTML in the admin interface. An attacker can intercept and modify the POST /livewire/update request to inject arbitrary HTML or JavaScript into the progress_message. Because the server accepts the modified input without sanitization and reflects it back to the user, arbitrary JavaScript executes in the browser of any authenticated admin who views the import page.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "snipe/snipe-it"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "8.3.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64027"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cybercrewinc/CVE-2025-64027"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/grokability/snipe-it"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-20T21:56:31Z",
    "nvd_published_at" : "2025-11-20T17:15:52Z"
  }
}