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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Scope Changed

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.09% (37th percentile)
Expand this section
NVD
6.1 medium

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 ID SNYK-JS-EDITORMD-536076
  • published 26 Nov 2019
  • disclosed 1 Aug 2019
  • credit pzyc0k

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