CVE-2021-47842
StudyMD 0.3.2 - Persistent Cross-Site Scripting
- State
- Published
- Severity
- 5.1 Medium
- Published
- Jan 16, 2026
- Updated
- Jan 16, 2026
- Reserved
- Jan 14, 2026
Description
StudyMD 0.3.2 contains a persistent cross-site scripting vulnerability that allows attackers to inject malicious scripts into markdown files. Attackers can upload crafted markdown files with embedded JavaScript payloads that execute when the file is opened, potentially enabling remote code execution.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N | VulnCheck |
| 3.1 | 7.2 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
StudyMDjotron |
|
References
- ExploitDB-49832exploit
- StudyMD GitHub Repositoryproduct
- Proof of Concept Videoexploit
- VulnCheck Advisory: StudyMD 0.3.2 - Persistent Cross-Site Scriptingthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.