LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Moeditor 0.2.0 is reported vulnerable to stored cross-site scripting in markdown files. A malicious markdown file can retain script content that runs when opened. Sources describe potential execution impact on the victim system. This mainly matters where Moeditor is used to open files from email, downloads, repositories, tickets, or other untrusted sources.

Executive priority

Prioritize remediation where Moeditor 0.2.0 is used by developers, support, documentation, or operations teams handling external markdown. The issue has public exploit references but no cited evidence of active exploitation. Treat as high priority for exposed workflows, moderate priority where use is isolated and trusted.

Technical view

CVE-2021-47840 affects Moeditor 0.2.0 and is classified as CWE-79. The source bundle reports persistent XSS via crafted markdown files containing embedded JavaScript. CVSS 3.1 is 7.2 with network attack vector, low complexity, no privileges, scope changed, and low confidentiality/integrity impact. Exploit-DB and a proof-of-concept video are referenced publicly.

Likely exposure

Exposure is likely limited to endpoints or workflows using Moeditor 0.2.0 to open markdown files. Risk increases when users open markdown from external parties, shared repositories, documentation portals, issue trackers, or downloaded archives. The bundle does not identify other affected versions.

Exploitation context

Public proof-of-concept material exists via Exploit-DB and a video reference. The source bundle does not indicate CISA KEV listing or confirmed active exploitation. Successful exploitation appears to require a victim or workflow opening a malicious markdown file in the affected application.

Researcher notes

Evidence is based on the provided CVE/advisory bundle. The bundle names only Moeditor 0.2.0 and does not provide a patched version. Avoid assuming broader product impact. Focus validation on version presence, file-opening workflows, and whether markdown content can persist and execute script when rendered.

Mitigation direction

  • Inventory endpoints and developer workstations for Moeditor 0.2.0.
  • Check Moeditor and advisory sources for vendor fixes or replacement guidance.
  • Avoid opening untrusted markdown files in Moeditor 0.2.0.
  • Use alternate markdown viewers with appropriate content sanitization where feasible.
  • Restrict file intake from untrusted sources until remediation is confirmed.
  • Educate users handling markdown to treat unexpected files as risky.

Validation and detection

  • Confirm installed Moeditor versions on managed endpoints.
  • Identify teams using Moeditor for documentation or repository workflows.
  • Review recent handling of external markdown files.
  • Check vendor and advisory pages for any updated remediation details.
  • Validate controls in a non-production environment using benign security test content.
  • Document whether Moeditor 0.2.0 remains business-critical.
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-47840 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-47840Attack 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
MoeditorMoeditor0.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.