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.
Published: 2026-08-10
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 11 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Fastschema
Fastschema fastschema
Vendors & Products Fastschema
Fastschema fastschema

Mon, 10 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 10 Aug 2026 12:00:00 +0000

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.

Mon, 10 Aug 2026 11:00:00 +0000

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'}


Subscriptions

Fastschema Fastschema
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-10T13:18:41.553Z

Reserved: 2026-08-10T10:32:53.854Z

Link: CVE-2026-72583

cve-icon Vulnrichment

Updated: 2026-08-10T13:18:34.452Z

cve-icon NVD

Status : Deferred

Published: 2026-08-10T11:17:31.270

Modified: 2026-08-28T18:51:39.823

Link: CVE-2026-72583

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T14:23:42Z

Weaknesses
  • CWE-79

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