Skip to main content
← All vulnerabilities
CVE-2019-10905GHSA-62M3-FC7F-JPP8

Parsedown before 1.7.2, when safe mode is used and HTML markup is disabled, might allow attackers to execute arbitrary JavaScript code if a

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

Summary

Parsedown before 1.7.2, when safe mode is used and HTML markup is disabled, might allow attackers to execute arbitrary JavaScript code if a script (already running on the affected page) executes the contents of any element with a specific class. This occurs because spaces are permitted in code block infostrings, which interferes with the intended behavior of a single class name beginning with the language- substring.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • erusev/parsedownPackagist

    fixed in 1.7.2

References 2

GitHub · erusev/parsedown