logo

CVE-2018-1000162 erusev/parsedown

Package

Manager: composer
Name: erusev/parsedown
Vulnerable Version: >=0 <1.7.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00396 pctl0.5965

Details

Cross-site Scripting in Parsedown Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in `setMarkupEscaped` for escaping HTML that can result in JavaScript code execution. This attack appears to be exploitable via specially crafted markdown that allows it to side step HTML escaping by breaking AST boundaries. This vulnerability appears to have been fixed in 1.7.0 and later.

Metadata

Created: 2022-03-30T18:26:22Z
Modified: 2022-03-30T18:26:22Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-qgpv-86r3-87fh/GHSA-qgpv-86r3-87fh.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-qgpv-86r3-87fh
Finding: F008
Auto approve: 1