{"id":"CVE-2021-47837","aliases":["EUVD-2026-2886","GHSA-rfvr-hv7q-m46g"],"status":"published","title":"Markdownify 1.2.0 - Persistent Cross-Site Scripting","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.","severity":{"version":"4.0","score":5.1,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00444,"percentile":0.38935,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2026-01-16T19:09:36Z","modified":"2026-06-17T04:18:35Z","products":[{"vendor":"amitmerchant1990","product":"markdownify"}],"references":[{"url":"https://www.exploit-db.com/exploits/49835","tags":["exploit"]},{"url":"https://github.com/amitmerchant1990/electron-markdownify","tags":["product"]},{"url":"https://imgur.com/a/T4jBoiS","tags":["exploit"]},{"url":"https://www.vulncheck.com/advisories/markdownify-persistent-cross-site-scripting","tags":["third-party-advisory","exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47837"},{"url":"https://github.com/advisories/GHSA-rfvr-hv7q-m46g"}],"sources":{"cve":[{"id":"CVE-2021-47837","title":"Markdownify 1.2.0 - Persistent Cross-Site Scripting","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.","status":"published","published":"2026-01-16T19:09:36.84Z","modified":"2026-03-05T01:28:49.731Z","cvss":[{"version":"4.0","score":5.1,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:56.308189Z"}],"euvd":[{"id":"EUVD-2026-2886","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.","status":"published","published":"2026-01-16T19:09:36Z","modified":"2026-03-05T01:28:49Z","cvss":[{"version":"4.0","score":5.1,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T19:48:09.897368Z"}],"ghsa":[{"id":"GHSA-rfvr-hv7q-m46g","title":"Markdownify 1.2.0 contains a persistent cross-site scripting vulnerability that allows attackers...","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.","status":"published","published":"2026-01-16T21:30:36Z","modified":"2026-01-16T21:30:43Z","cvss":[{"version":"4.0","score":5.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:05:39.318179Z"}],"nvd":[{"id":"CVE-2021-47837","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.","status":"published","published":"2026-01-16T19:16:09.223Z","modified":"2026-06-17T04:18:35.223Z","cvss":[{"version":"4.0","score":5.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:09.005706Z"}]}}
