LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47837: Markdownify 1.2.0 - Persistent Cross-Site Scripting

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.

HighCVSS 7.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

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.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

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 · medium confidence lookup

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 lookup
description · low confidence lookup

Execution 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 lookup
cve · low confidence lookup

CVE-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
Vulnerability profileCVE Program record
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

Official CVE source material

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.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We 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.

ScoreVersionSeverityVectorExploitImpactSource
7.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N3.92.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.2High
CVSS 3.1 vector shape for CVE-2021-47837Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
amitmerchant1990Markdownify1.2.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

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.