CVE-2026-63498

Snipe-IT: Stored XSS via Inline XML Rendering in the Uploaded Files API

Published Sep 24, 2026 CVSS 3.1 · 8.7 High EPSS < 1% KEV · Not listed
Description
Snipe-IT is an IT asset/license management system. Prior to 8.7.0, the uploaded-files API endpoint GET /api/v1/{object_type}/{id}/files/{file_id} allows an authenticated user with file-management access to upload XML and XSLT attachments and request them with the inline=true parameter. The app/Http/Controllers/Api/UploadedFilesController.php show() path does not apply the safe-inline allowlist used by the equivalent web controller, so the browser can process an attacker-controlled xml-stylesheet reference and execute JavaScript generated by the stylesheet in the Snipe-IT origin. A victim who is authorized to view the object must open the attachment URL, after which the script can read same-origin data and perform authenticated actions with the victim's privileges. This issue is fixed in version 8.7.0.

Analysis

AI-generated

Technical impact

The vulnerability allows an authenticated user with file‑management rights to upload XML or XSLT files that include a stylesheet reference and then request those files with inline rendering enabled. Because the API endpoint does not apply the same safe‑inline allowlist as the web interface, the browser processes the malicious stylesheet and executes the embedded JavaScript in the Snipe‑IT origin. This stored XSS can read same‑origin data and perform any action the authenticated user is authorized to do, effectively granting an attacker the victim’s privileges without needing additional credentials.

Affected Systems

All installations of the Snipe‑IT asset‑management system running a version earlier than 8.7.0 are affected. The flaw is present in the uploaded‑files API endpoint GET /api/v1/{object_type}/{id}/files/{file_id} and is fixed in release 8.7.0 and later.

Risk and Exploitability

The CVSS base score is 8.7, indicating high severity. The EPSS score is not available, but the vulnerability requires an attacker to have file‑management access and a legitimate user session to view the object, limiting the attack surface to trusted users. The issue is not listed in the CISA KEV catalog. Exploitation would occur when a victim opens the manipulated attachment URL, leading to the execution of attacker‑controlled JavaScript that can read data and issue commands in the victim’s context.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Snipe‑IT to version 8.7.0 or later, which removes the insecure inline rendering path for XML/XSLT attachments
  • Revoke file‑management permissions from users who do not require this capability or limit the roles that can upload such files
  • If a patch cannot be applied immediately, block or filter XML and XSLT file uploads or disable the inline=true parameter in the API configuration to prevent the stylesheet from executing

Generated by OpenCVE AI on September 25, 2026 at 06:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-396x-xmvh-p563 Snipe-IT: Stored XSS via Inline XML Rendering in the Uploaded Files API
History
Type Values Removed Values Added
First Time appeared Snipeitapp
Snipeitapp snipe-it
CPEs cpe:2.3:a:snipeitapp:snipe-it:*:*:*:*:*:*:*:*
Vendors & Products Snipeitapp
Snipeitapp snipe-it
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Grokability
Grokability snipe-it
Vendors & Products Grokability
Grokability snipe-it
Type Values Removed Values Added
Description Snipe-IT is an IT asset/license management system. Prior to 8.7.0, the uploaded-files API endpoint GET /api/v1/{object_type}/{id}/files/{file_id} allows an authenticated user with file-management access to upload XML and XSLT attachments and request them with the inline=true parameter. The app/Http/Controllers/Api/UploadedFilesController.php show() path does not apply the safe-inline allowlist used by the equivalent web controller, so the browser can process an attacker-controlled xml-stylesheet reference and execute JavaScript generated by the stylesheet in the Snipe-IT origin. A victim who is authorized to view the object must open the attachment URL, after which the script can read same-origin data and perform authenticated actions with the victim's privileges. This issue is fixed in version 8.7.0.
Title Snipe-IT: Stored XSS via Inline XML Rendering in the Uploaded Files API
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 28, 2026, 3:39 PM
Reserved
Jul 16, 2026, 9:49 PM
Status
Analyzed
Published
Sep 24, 2026, 5:17 PM
Modified
Sep 29, 2026, 4:50 PM