Security mailing lists by PureSourceCode

CVE-2020-15138

HIGH 7.5CVSS 3.1

Cross-Site Scripting in Prism

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.

Published
7 Aug 2020
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-wvhm-4hhf-97x9
Sources
NVDJSONOSV GHSA-wvhm-4hhf-97x9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.6 AV:N/AC:H/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD prismjs previewers
cpe:2.3:a:prismjs:previewers:*:*:*:*:*:prismjs:*:*
>= 1.1.0, < 1.21.0 1.21.0
OSV npm prismjs >= 1.1.0, < 1.21.0 1.21.0

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 7 Aug 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Aug 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.