CVE-2019-14517: Cross-site Scripting in pandao editor.md

editor.md Updated 02 Oct 2025

Summary

23/08/2019
No i
Moderate
6.1

CVE-2019-14517: Cross-site Scripting in pandao 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 pandao Editor.md is an npm package that provides a Markdown editor for web applications. It allows users to write and format content using Markdown syntax. The package is widely used in various web applications for its simplicity and ease of integration. However, version 1.5.0 of pandao Editor.md is vulnerable to a cross-site scripting (XSS) attack.

Vulnerability Detail

The vulnerability (CVE-2019-14517) in pandao Editor.md version 1.5.0 allows an attacker to execute arbitrary JavaScript code in the context of a user's browser. This can occur when an attacker injects a malicious JavaScript string, such as 'Javascript:', into the editor. When the user views the content, the injected code is executed, leading to potential unauthorized actions, data theft, or further exploitation of the user's session. The severity of this vulnerability is rated as MODERATE (CVSS score: 6.1). The Common Weakness Enumeration (CWE) ID associated with this vulnerability is CWE-79, which refers to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').

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

If upgrading to a patched version is not immediately feasible, developers can implement input validation and output encoding to mitigate the risk of XSS attacks. All user-generated content should be properly sanitized and encoded before being displayed in the editor or any other part of the application's interface. This can be achieved using security libraries or frameworks that provide XSS protection mechanisms.

Conclusion

In conclusion, pandao Editor.md version 1.5.0 is vulnerable to a cross-site scripting (XSS) attack. Developers should upgrade to a patched version or implement input validation and output encoding to mitigate the risk. It is important to stay updated with security advisories and promptly address vulnerabilities to ensure the security of web applications. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for editor.md →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary JavaScript code in the user's browser, potentially leading to unauthorized actions, data theft, or further exploitation of the user's session.

While specific exploits may not be publicly available, the vulnerability is well-documented, and it is advisable to address it promptly to prevent potential attacks.

Yes, the maintainers of the package have released a fix in a subsequent version. It is recommended to upgrade to the latest version to mitigate the vulnerability.

There are several alternative Markdown editors available that have not been reported to be vulnerable to this specific issue. It is advisable to evaluate and choose a secure and actively maintained editor for your application.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the package-lock.json file without requiring access to the code or installation.

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