CVE-2026-72583

fastschema - Stored Cross-Site Scripting via MIME Type Bypass in File Upload

Published Aug 10, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
A stored cross-site scripting (XSS) vulnerability in fastschema through v0.15.1 allows a low-privileged authenticated user to upload an SVG file containing malicious JavaScript by bypassing the MIME type allow-list check.

Analysis

AI-generated

Technical impact

Fastschema contains a stored XSS flaw that permits a low‑privileged authenticated user to upload an SVG file that bypasses the MIME type allow‑list check. The malicious SVG is stored in the application’s web root and is rendered by browsers when the corresponding page is viewed, yielding arbitrary client‑side code execution within the context of users who access that page. Based on the description, it can be inferred that such execution may compromise the confidentiality and integrity of data accessed during that session.

Affected Systems

The flaw affects all installations of fastschema prior to v0.15.2, specifically those that expose the rclonefs base PutMultipart API. The product is maintained by the fastschema community and can be found at https://github.com/fastschema/fastschema.

Risk and Exploitability

The CVSS score of 5.4 indicates a medium‑severity vulnerability. No EPSS score is currently available, and the issue is not listed in CISA’s KEV catalog. An attacker must be authenticated to the application and has low privileges, but can reach the file‑upload endpoint. After the SVG file is stored, any user who views the resulting page is subject to the client‑side code execution. The attack requires only legitimate authentication and the ability to upload a file, but no further escalated privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade fastschema to a version later than v0.15.1 that includes the MIME type validation fix.
  • If an upgrade is not immediately possible, remove or disable the server endpoint that accepts SVG files or other untrusted content types.
  • Implement server‑side MIME type validation or other content‑based checks to reject or quarantine files that contain potentially executable code, such as SVG.

Generated by OpenCVE AI on August 10, 2026 at 20:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Fastschema
Fastschema fastschema
Vendors & Products Fastschema
Fastschema fastschema
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A stored cross-site scripting (XSS) vulnerability in fastschema through v0.15.1 allows a low-privileged authenticated user to upload an SVG file containing malicious JavaScript by bypassing the MIME type allow-list check. The pkg/rclonefs/base.go PutMultipart function validates the Content-Type header supplied by the client rather than inspecting the actual file content, enabling an attacker to rename a file to .jpg while specifying image/svg+xml to bypass the filter and store a script-bearing SVG in the web root. A stored cross-site scripting (XSS) vulnerability in fastschema through v0.15.1 allows a low-privileged authenticated user to upload an SVG file containing malicious JavaScript by bypassing the MIME type allow-list check.
Type Values Removed Values Added
Description A stored cross-site scripting (XSS) vulnerability in fastschema through v0.15.1 allows a low-privileged authenticated user to upload an SVG file containing malicious JavaScript by bypassing the MIME type allow-list check. The pkg/rclonefs/base.go PutMultipart function validates the Content-Type header supplied by the client rather than inspecting the actual file content, enabling an attacker to rename a file to .jpg while specifying image/svg+xml to bypass the filter and store a script-bearing SVG in the web root.
Title fastschema - Stored Cross-Site Scripting via MIME Type Bypass in File Upload
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
TuranSec
Published
Updated
Aug 10, 2026, 1:18 PM
Reserved
Aug 10, 2026, 10:32 AM
Status
Deferred
Published
Aug 10, 2026, 11:17 AM
Modified
Oct 24, 2026, 3:10 PM