- Veröffentlicht
- 18.02.2022
- Zuletzt geändert
- 18.11.2026
- EPSS (30 Tage)
- 1.4 %
- CVSS-Vektor
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L
Beschreibung
Originaltext der Quelle, nicht übersetzt.
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.
Status beim Hersteller
Red Hat stuft seine Produktlinien ein: 5 betroffen, 2 behoben, 17 nicht betroffen.
IBM Maximo Asset Management 7.6.1.2
Betroffen
OpenShift Developer Tools and Services
BetroffenFix zurückgestellt
odo
Red Hat 3scale API Management Platform 2
BetroffenFix ausstehend
3scale-amp2/apicast-rhel7-operator, 3scale-amp2/apicast-rhel7-operator-metadata
Red Hat Integration Service Registry
Betroffenaußerhalb des Supports
prismjs
Red Hat OpenShift GitOps
Betroffenwird nicht behoben
openshift-gitops-1/argocd-rhel8
Nicht betroffen (17)
Migration Toolkit for VirtualizationNicht betroffenverwundbarer Code nicht enthaltenmigration-toolkit-virtualization/mtv-ui-rhel8
OpenShift Service Mesh 2.0Nicht betroffenverwundbarer Code nicht enthaltenservicemesh-grafana, servicemesh-grafana-prometheus
OpenShift Service Mesh 2.1Nicht betroffenverwundbarer Code nicht enthaltenopenshift-service-mesh/kiali-rhel8, servicemesh-grafana
Red Hat A-MQ OnlineNicht betroffenverwundbarer Code nicht enthaltenprismjs
Red Hat Advanced Cluster Security 3Nicht betroffenverwundbarer Code nicht enthaltenadvanced-cluster-security/rhacs-docs-rhel8, advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-rhel8-operator, advanced-cluster-security/rhacs-roxctl-rhel8
Red Hat Ansible Automation Platform 2Nicht betroffenverwundbarer Code nicht enthaltenaap-azure-ui
Red Hat Ceph Storage 3Nicht betroffenverwundbarer Code nicht enthaltengrafana
Red Hat Ceph Storage 4Nicht betroffenverwundbarer Code nicht enthaltenrhceph/rhceph-4-dashboard-rhel8
Red Hat Ceph Storage 5Nicht betroffenverwundbarer Code nicht enthaltenrhceph/rhceph-5-dashboard-rhel8
Red Hat Enterprise Linux 8Nicht betroffenverwundbarer Code nicht enthaltengrafana, grafana-azure-monitor, grafana-cloudwatch, grafana-elasticsearch, grafana-graphite, grafana-influxdb, grafana-loki, grafana-mssql, grafana-mysql, grafana-opentsdb, grafana-postgres, grafana-prometheus, grafana-selinux, grafana-stackdriver
Red Hat Enterprise Linux 9Nicht betroffenverwundbarer Code nicht enthaltengrafana, grafana-selinux
Red Hat Integration Camel K 1Nicht betroffenverwundbarer Code nicht enthaltenprismjs
Red Hat Integration Camel Quarkus 1Nicht betroffenverwundbarer Code nicht enthaltenprismjs
Red Hat Integration Data Virtualisation OperatorNicht betroffenverwundbarer Code nicht enthaltenprismjs
Red Hat OpenShift Container Platform 3.11Nicht betroffenverwundbarer Code nicht enthaltenopenshift3/grafana
Red Hat OpenShift Container Platform 4Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/ose-grafana
Red Hat Storage 3Nicht betroffenverwundbarer Code nicht enthaltengrafana
Betroffene Pakete im beobachteten Stack
Red Hat:ocp_toolsodokein Fix bekanntCVE-2022-23647
Weitere betroffene Pakete (9)
CVEPrismJS/prismkein Fix bekanntCVE-2022-23647
Debian:12node-prismjs1.27.0+dfsg+~1.26.0-1DEBIAN-CVE-2022-23647
Debian:13node-prismjs1.27.0+dfsg+~1.26.0-1DEBIAN-CVE-2022-23647
Debian:14node-prismjs1.27.0+dfsg+~1.26.0-1DEBIAN-CVE-2022-23647
NVDprismjs:prism1.14.0 → 1.27.0CVE-2022-23647
TuxCare:npmprismjs1.17.1-tuxcare.0 → 1.17.1-tuxcare.1CLSA-2026-1793304056
Ubuntu:20.04:LTSnode-prismjskein Fix bekanntUBUNTU-CVE-2022-23647
Ubuntu:22.04:LTSnode-prismjskein Fix bekanntUBUNTU-CVE-2022-23647
npmprismjs1.14.0 → 1.27.0GHSA-3949-f494-cm99
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- github.com/PrismJS/prism/security/advisories/GHSA-3949-f494-cm99
- github.com/PrismJS/prism/pull/3341
- github.com/PrismJS/prism/commit/e002e78c343154e1c0ddf9d6a0bb85689e1a5c7c
- wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0554.json
- wid.cert-bund.de/portal/wid/securityadvisory
- www.ibm.com/support/pages/node/6959695
- security-tracker.debian.org/tracker/CVE-2022-23647
- nvd.nist.gov/vuln/detail/CVE-2022-23647
- github.com/PrismJS/prism
- ubuntu.com/security/CVE-2022-23647
- github.com/PrismJS/prism/issues/3340
- www.cve.org/CVERecord
- security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-23647.json
- access.redhat.com/security/cve/CVE-2022-23647
- bugzilla.redhat.com/show_bug.cgi