Security readout for executives and security teams
Plain-English summary
Markdownify 1.2.0 can store harmful script content inside markdown files. When a vulnerable app opens the file, the script may run in the user’s context. This is most urgent where Markdownify is used with files from untrusted users, external collaborators, or public sources.
Executive priority
Treat as a targeted high-priority desktop/application risk, not a broad internet-edge emergency. Prioritize teams handling external markdown files, software documentation, or user-submitted content.
Technical view
CVE-2021-47837 is a persistent cross-site scripting issue in amitmerchant1990 Markdownify 1.2.0, mapped to CWE-79. The source bundle reports attacker-controlled markdown content can execute when opened and may have broader impact in the Electron application context. Public exploit and proof-of-concept references exist, but no KEV listing is provided.
Likely exposure
Exposure is likely limited to systems or users running Markdownify 1.2.0 and opening markdown files that others can create, upload, or share. Internal-only personal use has lower practical exposure, but shared documentation workflows increase risk.
Exploitation context
The cited sources include ExploitDB and proof-of-concept material, so the issue is publicly documented. The provided data does not show confirmed active exploitation, and it is not marked as CISA KEV.
Researcher notes
The CVSS vector is 7.2 and lists network, low complexity, no privileges, scope changed, and low confidentiality/integrity impact. Evidence for a patch is not present in the provided sources. Avoid assuming active exploitation without new KEV or vendor reporting.
Mitigation direction
- Identify whether Markdownify 1.2.0 is installed or distributed in your environment.
- Avoid opening untrusted markdown files with Markdownify until vendor guidance is confirmed.
- Check the GitHub repository and advisory sources for fixed versions or official guidance.
- Consider replacing or removing Markdownify where untrusted markdown handling is required.
- Restrict file-sharing workflows that allow external users to provide markdown content.
Validation and detection
- Inventory endpoints and developer systems for Markdownify installations.
- Confirm the installed version; prioritize any instance reporting 1.2.0.
- Review whether users open markdown files from external or shared sources.
- Check vendor and advisory pages for remediation status before closing the finding.
- Document compensating controls if removal or replacement is not immediately possible.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupExecution behavior lookup
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-47837 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.2 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N3.92.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.2HighVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Source materials
- CVE List V5 sourceCVE List V5
- ExploitDB-49835CVE reference · exploit
- Markdownify GitHub RepositoryCVE reference · product
- Proof of Concept VideoCVE reference · exploit
- VulnCheck Advisory: Markdownify 1.2.0 - Persistent Cross-Site ScriptingCVE reference · third-party-advisory
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
