# CVE-2021-47840: Moeditor 0.2.0 - Persistent Cross-Site Scripting

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.81%, higher than 79% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-01-16T19:09:38.403Z
- Modified: 2026-06-17T04:18:35.577Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Moeditor Moeditor: 0.2.0

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://www.exploit-db.com/exploits/49830> (exploit)
- <https://www.vulncheck.com/advisories/moeditor-persistent-cross-site-scripting> (exploit, third-party-advisory)
- <https://moeditor.js.org/> (product)
- <https://imgur.com/a/UdP4JaX> (product)

## Sources

- CVE List: [CVE-2021-47840](https://www.cve.org/CVERecord?id=CVE-2021-47840), CVE Terms of Use, modified 2026-01-16
- NVD: [CVE-2021-47840](https://nvd.nist.gov/vuln/detail/CVE-2021-47840), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47840 · Whole record: https://cve.day/CVE-2021-47840.json · Rebuilt by cve.day 2026-11-25T22:58:09.068Z
