CVE-2019-9737: Cross-Site Scripting in editor.md

editor.md Updated 02 Oct 2025

Summary

14/03/2019
No i
Moderate
6.1

CVE-2019-9737: Cross-Site Scripting in editor.md. Affects editor.md versions 1.5.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The editor.md package is an open-source Markdown editor for web developers. It provides a user-friendly interface for editing and previewing Markdown content. The package is widely used in various web applications and websites.

Vulnerability Detail

The vulnerability identified as CVE-2019-9737 is a Cross-Site Scripting (XSS) vulnerability present in all versions of the editor.md package. It occurs due to insufficient sanitization of user input, allowing attackers to inject malicious code in payloads containing base64-encoded content. This vulnerability can be exploited by attackers to execute arbitrary JavaScript code in the context of a victim's browser, potentially leading to unauthorized actions, data theft, or further attacks.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As there is no official fix, a possible workaround is to implement additional input sanitization measures on the server-side to mitigate the risk of XSS attacks. This can involve validating and sanitizing user input before storing or rendering it. Here is an example of server-side input sanitization using Node.js and Express:

const xss = require('xss');

app.post('/submit', (req, res) => {
  const userInput = req.body.input;
  const sanitizedInput = xss(userInput);
  // Process the sanitized input
});

Conclusion

The editor.md package is vulnerable to a Cross-Site Scripting (XSS) vulnerability that allows attackers to inject and execute arbitrary JavaScript code in the context of a victim's browser. As of now, no fix is available for this vulnerability. It is recommended to consider using an alternative module until a fix is provided. Implementing server-side input sanitization measures can help mitigate the risk of XSS attacks. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for editor.md →

Share this vulnerability

FAQ

This vulnerability allows attackers to execute arbitrary JavaScript code in the context of a victim's browser. Depending on the actions performed by the injected code, the impact can range from unauthorized actions on behalf of the victim to data theft or further exploitation of the compromised user session.

No, there is currently no fix available for this vulnerability in the editor.md package. It is recommended to use an alternative module until a fix is provided by the package maintainers.

To protect your application, consider implementing server-side input sanitization measures to mitigate the risk of XSS attacks. Additionally, regularly monitor for updates and patches from the editor.md package maintainers and apply them as soon as they become available.

While specific exploits targeting this vulnerability in the editor.md package have not been disclosed, the presence of the vulnerability increases the risk of XSS attacks. It is important to address this vulnerability to prevent potential exploitation.

For more information about this vulnerability, you can refer to the CVE-2019-9737 entry or the advisory provided by the package maintainers on GitHub. Additionally, you can use Vulert (https://vulert.com) to check if your application is affected by this vulnerability using the Vulert Playground (https://vulert.com/scanner).

Related vulnerabilities

Recent vulnerabilities recorded for editor.md.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback