CVE-2019-10905

Published Apr 6, 2019 CVSS 3.0 · 8.1 High EPSS 1.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-1333 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.
Github GHSA Github GHSA GHSA-62m3-fc7f-jpp8 Parsedown Class-Name Injection
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 10:40 PM
Reserved
Apr 6, 2019, 12:00 AM
Status
Modified
Published
Apr 6, 2019, 8:29 PM
Modified
Jun 17, 2026, 2:11 AM