CVE-2021-47840CWE-79

Moeditor 0.2.0 - Persistent Cross-Site Scripting

Medium · published January 16, 2026

CVSS v4.0
5.1
EPSS
0%
Percentile
37.6
In the wild
Unconfirmed
What it is

⚠️ A crafty markdown file can carry malicious code right to your system! This persistent XSS vulnerability in Moeditor 0.2.0 allows attackers to sneak in JavaScript through seemingly innocent markdown uploads. 🛠️ Think of it as a restaurant that accepts menu changes without checking for allergens — one unsuspecting diner bites into something harmful because nobody read the ingredients! This means that when you open a markdown file, an attacker could execute harmful scripts on your system, potentially leading to unauthorized access or full remote code execution. It's like opening a box of chocolates only to find a nasty surprise inside!

Put simply

Think of it as a restaurant that accepts menu changes without checking for allergens — one unsuspecting diner bites into something harmful because nobody read the ingredients! The vulnerability occurs because the application fails to properly sanitize user-uploaded markdown files, allowing JavaScript to be stored and executed when the files are opened by unsuspecting users.

What to do

This means that when you open a markdown file, an attacker could execute harmful scripts on your system, potentially leading to unauthorized access or full remote code execution. It's like opening a box of chocolates only to find a nasty surprise inside! To protect yourself, ensure you update Moeditor to the latest version that addresses this issue. Consider implementing file validation and sanitization measures for user-uploaded content to prevent future exploitation. 🛡️ You've got this! With these steps, you'll strengthen your defenses and keep your systems safe from sneaky attacks! 💪✨

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
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
EPSS
0.00444 · 37.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-01-16T19:09Z
EPSS history
Timeline
  • 16 JAN 19:09Z
    Moeditor 0.2.0 - Persistent Cross-Site Scripting
    cvelistv5