Cross-site Scripting (XSS) Affecting editor.md package, versions >0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.13% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-EDITORMD-536076
  • published26 Nov 2019
  • disclosed1 Aug 2019
  • creditpzyc0k

Introduced: 1 Aug 2019

CVE-2019-14517  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

There is no fixed version for editor.md.

Overview

editor.md is a open source embeddable online markdown editor (component), based on CodeMirror & jQuery & Marked.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the Javascript: string.

##POC by pzyc0k: [xss poc](Javascript:alert("pzyc0 poc xss with cookie: " + document.cookie))

References

CVSS Base Scores

version 3.1