PT-2026-69467 · Unknown · Fastschema
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
fastschema versions prior to 0.15.2
Description
A stored cross-site scripting (XSS) issue exists where a low-privileged authenticated user can upload an SVG file containing malicious JavaScript. This occurs because the
PutMultipart() function in pkg/rclonefs/base.go validates the Content-Type header provided by the client instead of inspecting the actual file content. An attacker can bypass the MIME type allow-list check by renaming a file to .jpg while specifying image/svg+xml as the header, allowing the storage of a script-bearing SVG in the web root.Recommendations
Update fastschema to version 0.15.2 or later.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Fastschema