CVE catalog

CVE-2020-15138

node-prismjs: CVE-2020-15138

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
2.04% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-prismjssid1.30.0+dfsg+~1.26.6-1fixed
Debiannode-prismjsforky1.30.0+dfsg+~1.26.6-1fixed
Debiannode-prismjstrixie1.29.0+dfsg+~1.26.0-1fixed
Debiannode-prismjsbookworm1.29.0+dfsg+~1.26.0-1fixed
Ubuntunode-prismjs20.041.11.0+dfsg-2vulnerable
Ubuntunode-prismjs20.041.11.0+dfsg-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-prismjssourcesid1.11.0+dfsg-4not yet assignedNot reported[968094]
Debiannode-prismjssourceforky1.11.0+dfsg-4not yet assignedNot reported[968094]
Debiannode-prismjssourcetrixie1.11.0+dfsg-4not yet assignedNot reported[968094]
Debiannode-prismjssourcebookworm1.11.0+dfsg-4not yet assignedNot reported[968094]

[Debian bug #968094]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 1.29.0+dfsg+~1.26.0-1 · all · bookworm

      Fixed · Fixed: 1.11.0+dfsg-4

      dsa · node-prismjs · debian · bookworm; dsa · node-prismjs · debian · 12

    • 1.29.0+dfsg+~1.26.0-1 · all · bookworm

      Fixed · Fixed: 1.11.0+dfsg-4

      dsa · node-prismjs · debian · bookworm; dsa · node-prismjs · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 1.29.0+dfsg+~1.26.0-1 · all · trixie

      Fixed · Fixed: 1.11.0+dfsg-4

      dsa · node-prismjs · debian · 13

    • 1.29.0+dfsg+~1.26.0-1 · all · trixie

      Fixed · Fixed: 1.11.0+dfsg-4

      dsa · node-prismjs · debian · 13

Observed:

References