CVE-2020-15138
Prism is vulnerable to Cross-Site Scripting.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.04%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L
- EPSS
- 2.04% probability · 80th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- prismjs/previewers
- Source
- security-advisories@github.com
References
- https://github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20cPatch, Third Party Advisory
- https://github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9Third Party Advisory
- https://prismjs.com/plugins/previewers/#disabling-a-previewerVendor Advisory
- https://github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20cPatch, Third Party Advisory
- https://github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9Third Party Advisory
- https://prismjs.com/plugins/previewers/#disabling-a-previewerVendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.