CVE-2026-72583
Received Received - Intake

Stored XSS in FastSchema via SVG Upload Bypass

Vulnerability report for CVE-2026-72583, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-10

Last updated on: 2026-08-10

Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-10
Last Modified
2026-08-10
Generated
2026-08-10
AI Q&A
2026-08-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
fastschema fastschema 0.15.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 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.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stored cross-site scripting (XSS) vulnerability in fastschema versions up to v0.15.1. An attacker with low privileges can upload an SVG file containing malicious JavaScript by tricking the system into accepting it as a valid image. The vulnerability exists because the software checks the file's MIME type header instead of the actual file content, allowing an attacker to rename a malicious file to .jpg while specifying image/svg+xml to bypass filters and store the script in the web root.

Detection Guidance

To detect this vulnerability, inspect uploaded files for SVG content disguised as other file types (e.g., .jpg). Check web server directories for unexpected SVG files containing JavaScript. Review logs for PUT requests with Content-Type headers set to image/svg+xml for non-SVG files.

Impact Analysis

An attacker could exploit this to inject malicious scripts into web pages viewed by other users. This could lead to theft of session cookies, account takeovers, or defacement of the website. Since the payload is stored on the server, it affects all users who access the compromised pages without requiring further interaction from the attacker.

Compliance Impact

This vulnerability could lead to unauthorized access to user data, violating GDPR's data protection requirements and HIPAA's safeguards for protected health information. It may result in data breaches, triggering mandatory breach notifications and potential fines under these regulations.

Mitigation Strategies

Upgrade to a patched version of fastschema beyond v0.15.1. Implement strict file content validation instead of relying on Content-Type headers. Remove or sanitize any suspicious SVG files already present in the web root. Restrict file upload permissions to trusted users only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-72583. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart