CVE-2019-10905 – erusev/parsedown
Package
Manager: composer
Name: erusev/parsedown
Vulnerable Version: >=0 <1.7.2
Severity
Level: High
CVSS v3.1: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00521 pctl0.65942
Details
Parsedown Class-Name Injection 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.
Metadata
Created: 2022-03-26T00:09:58Z
Modified: 2023-09-11T15:01:47Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-62m3-fc7f-jpp8/GHSA-62m3-fc7f-jpp8.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-62m3-fc7f-jpp8
Finding: F008
Auto approve: 1