Skip to main content
← All vulnerabilities
CVE-2018-1000162GHSA-QGPV-86R3-87FH

Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in `setMarkupEscaped` for escaping HTML that can result

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.7.0
None on Exploit-DB, Metasploit or GitHub

Summary

Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in `setMarkupEscaped` for escaping HTML that can result in JavaScript code execution. This attack appears to be exploitable via specially crafted markdown that allows it to side step HTML escaping by breaking AST boundaries. This vulnerability appears to have been fixed in 1.7.0 and later.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • erusev/parsedownPackagist

    fixed in 1.7.0

References 2

GitHub · Roave/SecurityAdvisories

GitHub · erusev/parsedown