CVE-2020-15138 Cross-Site Scripting in Prism
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 5 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/node-prismjs(Ubuntu 20.04) | = 1.11.0+dfsg-2; = 1.11.0+dfsg-3; All versions | No fix listed | No fix yet |
| debian/node-prismjs(Debian 12) | < 1.11.0+dfsg-4 | 1.11.0+dfsg-4 | Fixed |
| debian/node-prismjs(Debian 13) | < 1.11.0+dfsg-4 | 1.11.0+dfsg-4 | Fixed |
| debian/node-prismjs(Debian 14) | < 1.11.0+dfsg-4 | 1.11.0+dfsg-4 | Fixed |
| npm prismjs(npm) | >= 1.1.0, < 1.21.0 | 1.21.0 | Fixed |
| PrismJS previewers | >= 1.1.0, < 1.21.0 | 1.21.0 | Fixed |
| PrismJS prism | = >= 1.1.0, < 1.21.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm prismjs(npm) | >= 1.1.0, < 1.21.0 | 1.21.0 |
| debian/node-prismjs(Debian:12) | < 1.11.0+dfsg-4 | 1.11.0+dfsg-4 |
| debian/node-prismjs(Debian:14) | < 1.11.0+dfsg-4 | 1.11.0+dfsg-4 |
| debian/node-prismjs(Debian:13) | < 1.11.0+dfsg-4 | 1.11.0+dfsg-4 |
| PrismJS previewers | >= 1.1.0, < 1.21.0 | 1.21.0 |
| PrismJS prism | = >= 1.1.0, < 1.21.0 | No fix listed |
| ubuntu/node-prismjs(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/node-prismjs(Ubuntu:20.04) | = 1.11.0+dfsg-2 | No fix listed |
| ubuntu/node-prismjs(Ubuntu:20.04) | = 1.11.0+dfsg-3 | No fix listed |
References
- github.com issue-tracking third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- prismjs.com issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2020-15138 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking