5.1medium
StudyMD 0.3.2 - Persistent Cross-Site Scripting
- Severity
- 5.1medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 1.40% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jotron StudyMD | 0.3.2 | CVE List |
All scores
| VulnCheck | 5.1medium CVSS:4.0 | 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 | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
StudyMD 0.3.2 contiene una vulnerabilidad de cross-site scripting persistente que permite a los atacantes inyectar scripts maliciosos en archivos markdown. Los atacantes pueden subir archivos markdown manipulados con cargas útiles de JavaScript incrustadas que se ejecutan cuando se abre el archivo, lo que podría permitir la ejecución remota de código.
References
| https://www.exploit-db.com/exploits/49832 | exploit | |
| https://github.com/jotron/StudyMD | product | |
| https://imgur.com/a/lDHKEIp | exploit | |
| https://www.vulncheck.com/advisories/studymd-persistent-cross-site-scripting | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47842 changed 2026-01-16 | CVE Terms of Use |
| NVD | CVE-2021-47842 changed 2026-06-17 | Public domain |