# CVE-2021-47837: Markdownify 1.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.40%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-01-16T19:09:36.840Z
- Modified: 2026-06-17T04:18:35.223Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

Markdownify 1.2.0 contains a persistent cross-site scripting vulnerability that allows attackers to store malicious payloads within markdown files. Attackers can upload crafted markdown files with embedded scripts that execute when the file is opened, potentially enabling remote code execution.

(As written by CVE List.)

## Affected

- amitmerchant1990 Markdownify: 1.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/49835> (exploit)
- <https://imgur.com/a/T4jBoiS> (exploit)
- <https://www.vulncheck.com/advisories/markdownify-persistent-cross-site-scripting> (exploit, third-party-advisory)
- <https://github.com/amitmerchant1990/electron-markdownify> (product)

## Sources

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

---

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