Cross-site Scripting (XSS)

Affecting editor.md package, versions >0.0.0

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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))

Remediation

There is no fixed version for editor.md.

References

CVSS Score

6.1
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    Required
  • Scope
    Changed
  • Confidentiality
    Low
  • Integrity
    Low
  • Availability
    None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Credit
pzyc0k
CVE
CVE-2019-14517
CWE
CWE-79
Snyk ID
SNYK-JS-EDITORMD-536076
Disclosed
01 Aug, 2019
Published
26 Nov, 2019