All reports
High

Parsedown Class-Name Injection

Affected versions

Affected versions
< 1.7.2
Fixed version
1.7.2

Exploitation

CVE-2019-10905

Probability of exploitation in the next 30 days: 1.47%

FIRST EPSS · 2026-11-24

Description

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.

Links