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.
References
Link | Resource |
---|---|
https://github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20c | Patch Third Party Advisory |
https://github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9 | Third Party Advisory |
https://prismjs.com/plugins/previewers/#disabling-a-previewer | Vendor Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: GitHub_M
Published: 2020-08-07T16:30:14
Updated: 2020-08-07T16:30:14
Reserved: 2020-06-25T00:00:00
Link: CVE-2020-15138
JSON object: View
NVD Information
Status : Analyzed
Published: 2020-08-07T17:15:10.450
Modified: 2020-08-28T17:06:10.450
Link: CVE-2020-15138
JSON object: View
Redhat Information
No data.
CWE