Stored XSS via unrestricted HTML file upload
Published Sep 1, 2025 · Updated Sep 2, 2025
Unrestricted file upload in Sim allows remote authenticated users to store malicious HTML through the file upload API. The POST handler in apps/sim/app/api/files/upload/route.ts accepts the supplied filename extension and writes or forwards the file without an allowlist. A valid session is required, and script execution occurs only when another user opens the served HTML file.
Summary
What happened
Unrestricted file upload in Sim allows remote authenticated users to store malicious HTML through the file upload API. The POST handler in apps/sim/app/api/files/upload/route.ts accepts the supplied filename extension and writes or forwards the file without an allowlist. A valid session is required, and script execution occurs only when another user opens the served HTML file.
The record
- CVE
- CVE-2025-9800
- Published
- Sep 1, 2025
- Updated
- Sep 2, 2025
- Vendor
- SimStudioAI
- Product
- Sim
- Classifications
- CWE-434, CWE-284, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 1, 2025CVE publishedPublication date reported by the CVE source.
- Sep 2, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=ed9b9ad83f1a7c61f4392787fb51837d34eeb0af
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Insecure File Upload proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo