GHSA-3949-f494-cm99 · 深刻度: high · エコシステム: npm — Cross-site Scripting in Prism
Prism is a syntax highlighting library. Starting with version 1.14.0 and prior to version 1.27.0, Prism's command line plugin can be used by attackers to achieve a cross-site scripting attack. The command line plugin did not properly escape its output, leading to the input text being inserted into the DOM as HTML code. Server-side usage of Prism is not impacted. Websites that do not use the Command Line plugin are also not impacted. This bug has been fixed in v1.27.0. As a workaround, do not use the command line plugin on untrusted inputs, or sanitize all code blocks (remove all HTML code text) from all code blocks that use the command line plugin.
総合評価: CVE-2022-23647 は中リスク(54.6/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 1.46%、70 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-19 | 1.42% | 1.46% | +0.03% |
| 2 | 2026-06-15 | 0.51% | 1.42% | +0.91% |
| 3 | 2026-06-06 | — | 0.51% | — |
EPSS の全履歴 (全 12 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
1.6 | 5.3 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-3949-f494-cm99 · 深刻度: high · エコシステム: npm — Cross-site Scripting in Prism
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-23647 not yet assigned priority: Debian including 1 source packages (node-prismjs), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-23647 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2022-23647 |
ubuntu
|
medium | CVE-2022-23647 medium priority: Ubuntu including 1 source packages (node-prismjs), 13 status rows across 13 suites (focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 6, ignored 4, needs-triage 2, released 1. | https://ubuntu.com/security/CVE-2022-23647 |
| URL | タグ |
|---|---|
| https://github.com/PrismJS/prism/commit/e002e78c343154e1c0ddf9d6a0bb85689e1a5c7c | Patch Third Party Advisory |
| https://github.com/PrismJS/prism/pull/3341 | Patch Third Party Advisory |
| https://github.com/PrismJS/prism/security/advisories/GHSA-3949-f494-cm99 | Third Party Advisory |