High severity8.1OSV Advisory· Published Apr 6, 2019· Updated Jun 17, 2026
CVE-2019-10905
CVE-2019-10905
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
erusev/parsedownPackagist | < 1.7.2 | 1.7.2 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/erusev/parsedown/issues/699nvdExploitIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-62m3-fc7f-jpp8ghsaADVISORY
- github.com/erusev/parsedown/releases/tag/1.7.2nvdRelease NotesThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2019-10905ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/erusev/parsedown/CVE-2019-10905.yamlghsaWEB
News mentions
0No linked articles in our index yet.