CVE-2019-14653: pandao Editor.md cross-site scripting in ABBR and SUP tags

CVE-2019-14653 · Severity: low · CVSS 3 · Published 2019-08-23

Editor.md is a popular open-source Markdown editor library used on websites to allow users to write and preview formatted content. The library contains a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious code via ABBR and SUP HTML elements. If a website uses Editor.md to process user input, an attacker can craft malicious content that executes JavaScript in visitors' browsers, potentially stealing session cookies, redirecting users, or defacing the website.

Technologies: editor.md (npm). Vendors: npm.

Quick answers

Is CVE-2019-14653 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-14653 being exploited in the wild.
How severe is CVE-2019-14653?
Low severity, with a CVSS score of 3, published 23 August 2019.
Which products and versions are affected?
pandao Editor.md 1.5.0.
Is there a fix for CVE-2019-14653?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2019-14653 attacked?
It is attacked over the network.
Am I affected by CVE-2019-14653?
Check whether you run editor.md (npm). 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

The vulnerability is a stored or reflected cross-site scripting (XSS) flaw in pandao Editor.md 1.5.0, classified as CWE-79. The root cause is insufficient input sanitization: the library fails to filter event handler attributes (such as onmouseover) and style attributes on ABBR and SUP HTML elements during Markdown-to-HTML conversion. An attacker can inject payloads like "<sup onmouseover='alert(xss)'>" that execute arbitrary JavaScript when users interact with the rendered output. The attack requires no authentication and can be triggered through normal user interaction (e.g., mouse hover). No patch information is explicitly provided in the advisory, but users should upgrade to a patched version or apply manual HTML filtering to event handler attributes.

Affected products

  • pandao Editor.md 1.5.0

Identifiers

  • CVE-2019-14653
  • GHSA-x65c-4fgj-5fc3

Timeline

  • 2019-08-02: disclosed
  • 2019-08-23: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.