5.1medium
Moeditor 0.2.0 - Persistent Cross-Site Scripting
- Severity
- 5.1medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 1.81% (higher than 79% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Moeditor 0.2.0 contains a persistent cross-site scripting vulnerability that allows attackers to store malicious payloads within markdown files. Attackers can upload specially crafted markdown files with embedded JavaScript that execute when opened, potentially enabling remote code execution on the victim's system.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Moeditor Moeditor | 0.2.0 | 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
Moeditor 0.2.0 contains a persistent cross-site scripting vulnerability that allows attackers to store malicious payloads within markdown files. Attackers can upload specially crafted markdown files with embedded JavaScript that execute when opened, potentially enabling remote code execution on the victim's system.
NVD (es)
Moeditor 0.2.0 contiene una vulnerabilidad de cross-site scripting persistente que permite a los atacantes almacenar cargas útiles maliciosas dentro de archivos markdown. Los atacantes pueden subir archivos markdown especialmente diseñados con JavaScript incrustado que se ejecutan al abrirse, lo que podría permitir la ejecución remota de código en el sistema de la víctima.
References
| https://www.exploit-db.com/exploits/49830 | exploit | |
| https://moeditor.js.org/ | product | |
| https://imgur.com/a/UdP4JaX | product | |
| https://www.vulncheck.com/advisories/moeditor-persistent-cross-site-scripting | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47840 changed 2026-01-16 | CVE Terms of Use |
| NVD | CVE-2021-47840 changed 2026-06-17 | Public domain |