CVE-2020-15138

Component Details
Type npm
Namespace @types
Name prismjs
Version 1.16.6
Package URL pkg:npm/%40types/prismjs@1.16.6
Vulnerability Details
Raitings
Score Method Vector
2.6 CVSSv2 AV:N/AC:H/Au:N/C:N/I:P/A:N
Score Method Vector
7.5 CVSSv31 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L
Description Prism is vulnerable to Cross-Site Scripting. The easing preview of the Previewers plugin has an XSS vulnerability that allows attackers to execute arbitrary code in Safari and Internet Explorer. This impacts all Safari and Internet Explorer users of Prism >=v1.1.0 that use the _Previewers_ plugin (>=v1.10.0) or the _Previewer: Easing_ plugin (v1.1.0 to v1.9.0). This problem is fixed in version 1.21.0. To workaround the issue without upgrading, disable the easing preview on all impacted code blocks. You need Prism v1.10.0 or newer to apply this workaround.
Recommendation state: fixed fix versions: 1.21.0
References GHSA-wvhm-4hhf-97x9
Found By Anchore Grype
Urls