CVE-2019-10905 Parsedown Class-Name Injection
HighCVSS 8.1
EPSS 1.5%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- PHP
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| erusev/parsedown(Packagist) | < 1.7.2; = 0.1.0; = 0.1.1; = 0.1.2 +66 more | 1.7.2 | Fixed |
| parsedown | < 1.7.2 | 1.7.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| erusev/parsedown(Packagist) | < 1.7.2 | 1.7.2 |
| erusev/parsedown(Packagist) | = 0.1.0 | No fix listed |
| erusev/parsedown(Packagist) | = 0.1.1 | No fix listed |
| erusev/parsedown(Packagist) | = 0.1.2 | No fix listed |
| erusev/parsedown(Packagist) | = 0.1.3 | No fix listed |
| erusev/parsedown(Packagist) | = 0.1.4 | No fix listed |
| erusev/parsedown(Packagist) | = 0.1.5 | No fix listed |
| erusev/parsedown(Packagist) | = 0.2.0 | No fix listed |
| erusev/parsedown(Packagist) | = 0.2.1 | No fix listed |
| erusev/parsedown(Packagist) | = 0.3.0 | No fix listed |
| erusev/parsedown(Packagist) | = 0.4.0 | No fix listed |
| erusev/parsedown(Packagist) | = 0.4.1 | No fix listed |
| erusev/parsedown(Packagist) | = 0.4.2 | No fix listed |
| erusev/parsedown(Packagist) | = 0.4.3 | No fix listed |
| erusev/parsedown(Packagist) | = 0.4.4 | No fix listed |
| erusev/parsedown(Packagist) | = 0.4.5 | No fix listed |
| erusev/parsedown(Packagist) | = 0.4.6 | No fix listed |
| erusev/parsedown(Packagist) | = 0.4.7 | No fix listed |
| erusev/parsedown(Packagist) | = 0.4.8 | No fix listed |
| erusev/parsedown(Packagist) | = 0.5.0 | No fix listed |
| erusev/parsedown(Packagist) | = 0.6.0 | No fix listed |
| erusev/parsedown(Packagist) | = 0.7.0 | No fix listed |
| erusev/parsedown(Packagist) | = 0.7.1 | No fix listed |
| erusev/parsedown(Packagist) | = 0.7.2 | No fix listed |
| erusev/parsedown(Packagist) | = 0.7.3 | No fix listed |
Show 46 more
| Product | Affected versions | Fixed in |
|---|---|---|
| erusev/parsedown(Packagist) | = 0.7.4 | No fix listed |
| erusev/parsedown(Packagist) | = 0.7.5 | No fix listed |
| erusev/parsedown(Packagist) | = 0.7.6 | No fix listed |
| erusev/parsedown(Packagist) | = 0.7.7 | No fix listed |
| erusev/parsedown(Packagist) | = 0.8.0 | No fix listed |
| erusev/parsedown(Packagist) | = 0.8.1 | No fix listed |
| erusev/parsedown(Packagist) | = 0.8.2 | No fix listed |
| erusev/parsedown(Packagist) | = 0.8.3 | No fix listed |
| erusev/parsedown(Packagist) | = 0.9.0 | No fix listed |
| erusev/parsedown(Packagist) | = 0.9.1 | No fix listed |
| erusev/parsedown(Packagist) | = 0.9.2 | No fix listed |
| erusev/parsedown(Packagist) | = 0.9.3 | No fix listed |
| erusev/parsedown(Packagist) | = 0.9.4 | No fix listed |
| erusev/parsedown(Packagist) | = 1.0.0 | No fix listed |
| erusev/parsedown(Packagist) | = 1.0.0-rc.1 | No fix listed |
| erusev/parsedown(Packagist) | = 1.0.0-rc.2 | No fix listed |
| erusev/parsedown(Packagist) | = 1.0.0-rc.3 | No fix listed |
| erusev/parsedown(Packagist) | = 1.0.0-rc.4 | No fix listed |
| erusev/parsedown(Packagist) | = 1.0.0-rc.5 | No fix listed |
| erusev/parsedown(Packagist) | = 1.0.1 | No fix listed |
| erusev/parsedown(Packagist) | = 1.1.0 | No fix listed |
| erusev/parsedown(Packagist) | = 1.1.1 | No fix listed |
| erusev/parsedown(Packagist) | = 1.1.2 | No fix listed |
| erusev/parsedown(Packagist) | = 1.1.3 | No fix listed |
| erusev/parsedown(Packagist) | = 1.1.4 | No fix listed |
| erusev/parsedown(Packagist) | = 1.2.0 | No fix listed |
| erusev/parsedown(Packagist) | = 1.3.0 | No fix listed |
| erusev/parsedown(Packagist) | = 1.4.0 | No fix listed |
| erusev/parsedown(Packagist) | = 1.4.1 | No fix listed |
| erusev/parsedown(Packagist) | = 1.4.2 | No fix listed |
| erusev/parsedown(Packagist) | = 1.4.3 | No fix listed |
| erusev/parsedown(Packagist) | = 1.4.4 | No fix listed |
| erusev/parsedown(Packagist) | = 1.4.5 | No fix listed |
| erusev/parsedown(Packagist) | = 1.5.0 | No fix listed |
| erusev/parsedown(Packagist) | = 1.5.1 | No fix listed |
| erusev/parsedown(Packagist) | = 1.5.2 | No fix listed |
| erusev/parsedown(Packagist) | = 1.5.3 | No fix listed |
| erusev/parsedown(Packagist) | = 1.5.4 | No fix listed |
| erusev/parsedown(Packagist) | = 1.6.0 | No fix listed |
| erusev/parsedown(Packagist) | = 1.6.1 | No fix listed |
| erusev/parsedown(Packagist) | = 1.6.2 | No fix listed |
| erusev/parsedown(Packagist) | = 1.6.3 | No fix listed |
| erusev/parsedown(Packagist) | = 1.6.4 | No fix listed |
| erusev/parsedown(Packagist) | = 1.7.0 | No fix listed |
| erusev/parsedown(Packagist) | = 1.7.1 | No fix listed |
| parsedown | < 1.7.2 | 1.7.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking third-party-advisory
- github.com exploit
- github.com product
- github.com release-notes third-party-advisory
- github.com