XSS in Moeditor
CVE-2021-47840
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.005 (37.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 37th percentile — 37.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.000
Affected products
- Moeditor — versions 0.2.0
Weakness classification (CWE)
References
- www.exploit-db.com/exploits/49830 (exploit)
- moeditor.js.org/ (product)
- imgur.com/a/UdP4JaX (product)
- www.vulncheck.com/advisories/moeditor-persistent-cross-site-scripting (third-party-advisory)
Frequently asked questions
- What is CVE-2021-47840?
- CVE-2021-47840 is a high-severity vulnerability in Moeditor, classified under Cross-site Scripting. CVSS score: 7.2/10. Published 2026-01-16.
- How severe is CVE-2021-47840?
- High severity. CVSS v3 base score is 7.2 out of 10.