CVE-2020-15138
7.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| PrismJS | prism | >= 1.1.0, < 1.21.0 | affected |
Weaknesses
- CWE-79: {"CWE-79":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9
- https://prismjs.com/plugins/previewers/#disabling-a-previewer
- https://github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20c
References
- https://github.com/PrismJS/prism/security/advisories/GHSA-wvhm-4hhf-97x9
- https://prismjs.com/plugins/previewers/#disabling-a-previewer
- https://github.com/PrismJS/prism/pull/2506/commits/7bd7de05edf71112a3a77f87901a2409c9c5c20c
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.