CVE-2018-1000162
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.
Does this matter?
Lower severity and a low EPSS score (1.18%). Track it; it rarely justifies an emergency change on its own.
Description
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.
- CVSS 3.0
- 6.1 MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 1.18% probability · 66th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- parsedown/parsedown
- Source
- cve@mitre.org
References
- https://github.com/Roave/SecurityAdvisories/issues/44#issuecomment-368594409Third Party Advisory
- https://github.com/erusev/parsedown/pull/495Third Party Advisory
- https://github.com/Roave/SecurityAdvisories/issues/44#issuecomment-368594409Third Party Advisory
- https://github.com/erusev/parsedown/pull/495Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.