Stored XSS via extension-blind Markdown preview
Published Jun 19, 2025 · Updated Jun 23, 2025
Stored XSS in OpenList before 4.0.0-rc.4 allows remote attackers to run JavaScript when a user previews a crafted Python file. The MdPreview component passed fetched file content to the Markdown renderer without the file extension, so Python text containing script tags was handled as renderable HTML. An attacker must place the file in accessible storage and persuade a user to open its rendered preview; the script then runs in the browser context and can read browser-accessible data.
Summary
What happened
Stored XSS in OpenList before 4.0.0-rc.4 allows remote attackers to run JavaScript when a user previews a crafted Python file. The MdPreview component passed fetched file content to the Markdown renderer without the file extension, so Python text containing script tags was handled as renderable HTML. An attacker must place the file in accessible storage and persuade a user to open its rendered preview; the script then runs in the browser context and can read browser-accessible data.
The record
- CVE
- CVE-2025-50183
- Published
- Jun 19, 2025
- Updated
- Jun 23, 2025
- Vendor
- OpenList Team
- Product
- OpenList
- Classifications
- CWE-79, T1059.007, T1204.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 19, 2025CVE publishedPublication date reported by the CVE source.
- Jun 23, 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=< 4.0.0-rc.4
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
- Crafted Python file preview proof of conceptproof of concept · demonstrated
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