{"id":"CVE-2022-23647","aliases":["DEBIAN-CVE-2022-23647","GHSA-3949-f494-cm99","UBUNTU-CVE-2022-23647","WID-SEC-W-2023-0554"],"summary":"Cross-site Scripting in Prism","published_at":"2022-02-18T00:00:00Z","modified_at":"2026-11-18T06:02:10.460634Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"BSI","rating":"mittel"},{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.01425000000745058,"percentile":0.7348799705505371,"date":"2026-11-19T00:00:00Z"},"priority":9,"details":"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.","affected_stack":[{"ecosystem":"Red Hat:ocp_tools","package":"odo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-23647","relation":"self"}],"affected_other":[{"ecosystem":"CVE","package":"PrismJS/prism","versions":[">= 1.14.0, < 1.27.0"],"provider":"cvelistv5","source":"CVE-2022-23647","relation":"self"},{"ecosystem":"Debian:12","package":"node-prismjs","purl":"pkg:deb/debian/node-prismjs?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.0+dfsg+~1.26.0-1"}]}],"fixed":["1.27.0+dfsg+~1.26.0-1"],"provider":"osv","source":"DEBIAN-CVE-2022-23647","relation":"self"},{"ecosystem":"Debian:13","package":"node-prismjs","purl":"pkg:deb/debian/node-prismjs?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.0+dfsg+~1.26.0-1"}]}],"fixed":["1.27.0+dfsg+~1.26.0-1"],"provider":"osv","source":"DEBIAN-CVE-2022-23647","relation":"self"},{"ecosystem":"Debian:14","package":"node-prismjs","purl":"pkg:deb/debian/node-prismjs?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.0+dfsg+~1.26.0-1"}]}],"fixed":["1.27.0+dfsg+~1.26.0-1"],"provider":"osv","source":"DEBIAN-CVE-2022-23647","relation":"self"},{"ecosystem":"NVD","package":"prismjs:prism","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.14.0"},{"fixed":"1.27.0"}]}],"fixed":["1.27.0"],"provider":"nvd","source":"CVE-2022-23647","relation":"self"},{"ecosystem":"TuxCare:npm","package":"prismjs","purl":"pkg:npm/prismjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.1-tuxcare.0"},{"fixed":"1.17.1-tuxcare.1"}]}],"versions":["1.17.1"],"fixed":["1.17.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1793304056","relation":"upstream"},{"ecosystem":"Ubuntu:20.04:LTS","package":"node-prismjs","purl":"pkg:deb/ubuntu/node-prismjs@1.11.0+dfsg-3?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+dfsg-2","1.11.0+dfsg-3"],"provider":"osv","source":"UBUNTU-CVE-2022-23647","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"node-prismjs","purl":"pkg:deb/ubuntu/node-prismjs@1.27.0+dfsg+~1.26.0-1?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.23.0+dfsg-1","1.25.0+dfsg-1","1.27.0+dfsg+~1.26.0-1"],"provider":"osv","source":"UBUNTU-CVE-2022-23647","relation":"self"},{"ecosystem":"npm","package":"prismjs","purl":"pkg:npm/prismjs","ranges":[{"type":"SEMVER","events":[{"introduced":"1.14.0"},{"fixed":"1.27.0"}]}],"fixed":["1.27.0"],"provider":"osv","source":"GHSA-3949-f494-cm99","relation":"self"}],"product_status":[{"vendor":"BSI","product":"IBM Maximo Asset Management 7.6.1.2","cpe":"cpe:/a:ibm:maximo_asset_management:7.6.1.2","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2023-0554"},{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"not_affected","packages":["migration-toolkit-virtualization/mtv-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"OpenShift Developer Tools and Services","cpe":"cpe:/a:redhat:ocp_tools","status":"affected","packages":["odo"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.1","cpe":"cpe:/a:redhat:service_mesh:2.1","status":"not_affected","packages":["openshift-service-mesh/kiali-rhel8","servicemesh-grafana"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"RHINT Service Registry 2.3.0 GA","cpe":"cpe:/a:redhat:service_registry:2.3","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2022:6835"],"provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat 3scale API Management Platform 2","cpe":"cpe:/a:redhat:3scale:2.13","status":"affected","packages":["3scale-amp2/apicast-rhel7-operator","3scale-amp2/apicast-rhel7-operator-metadata"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat A-MQ Online","cpe":"cpe:/a:redhat:amq_online:1","status":"not_affected","packages":["prismjs"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"not_affected","packages":["advanced-cluster-security/rhacs-docs-rhel8","advanced-cluster-security/rhacs-main-rhel8","advanced-cluster-security/rhacs-rhel8-operator","advanced-cluster-security/rhacs-roxctl-rhel8"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["aap-azure-ui"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 3","cpe":"cpe:/a:redhat:ceph_storage:3","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 4","cpe":"cpe:/a:redhat:ceph_storage:4","status":"not_affected","packages":["rhceph/rhceph-4-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 5","cpe":"cpe:/a:redhat:ceph_storage:5","status":"not_affected","packages":["rhceph/rhceph-5-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Data Grid 8.4.0","cpe":"cpe:/a:redhat:jboss_data_grid:8","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2022:8524"],"provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["grafana","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"],"package_count":14,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["grafana","grafana-selinux"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"not_affected","packages":["prismjs"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Integration Camel Quarkus 1","cpe":"cpe:/a:redhat:camel_quarkus:2","status":"not_affected","packages":["prismjs"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Integration Data Virtualisation Operator","cpe":"cpe:/a:redhat:integration:1","status":"not_affected","packages":["prismjs"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Integration Service Registry","cpe":"cpe:/a:redhat:integration:1","status":"affected","packages":["prismjs"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","cpe":"cpe:/a:redhat:openshift:3.11","status":"not_affected","packages":["openshift3/grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps","cpe":"cpe:/a:redhat:openshift_gitops:1","status":"affected","packages":["openshift-gitops-1/argocd-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Storage 3","cpe":"cpe:/a:redhat:storage:3","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"}],"records":[{"provider":"osv","source_id":"CLSA-2026-1793304056","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1793304056","published_at":"2026-10-29T21:00:57Z","modified_at":"2026-10-30T02:15:07.694579Z","summary":"TuxCare security update for prismjs (6 CVEs)","details":"TuxCare rebuilt prismjs to address 6 CVEs. Fixed in 1.17.1-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"prismjs","purl":"pkg:npm/prismjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.1-tuxcare.0"},{"fixed":"1.17.1-tuxcare.1"}]}],"versions":["1.17.1"],"fixed":["1.17.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1793304056","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2022-23647","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-23647","license":"CC-BY-4.0","published_at":"2022-02-18T14:50:10Z","modified_at":"2025-04-23T19:02:44.473Z","summary":"Cross-site Scripting in Prism","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L","source":"CVE-2022-23647"}],"affected":[{"ecosystem":"CVE","package":"PrismJS/prism","versions":[">= 1.14.0, < 1.27.0"],"provider":"cvelistv5","source":"CVE-2022-23647","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/PrismJS/prism/security/advisories/GHSA-3949-f494-cm99"},{"type":"WEB","url":"https://github.com/PrismJS/prism/pull/3341"},{"type":"WEB","url":"https://github.com/PrismJS/prism/commit/e002e78c343154e1c0ddf9d6a0bb85689e1a5c7c"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-0554","relation":"self","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0554","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-03-02T23:00:00Z","modified_at":"2023-03-02T23:00:00Z","summary":"IBM Maximo Asset Management: Schwachstelle ermöglicht Cross-Site Scripting","details":"Ein entfernter, anonymer Angreifer kann eine Schwachstelle in IBM Maximo Asset Management ausnutzen, um einen Cross-Site Scripting Angriff durchzuführen.\n\nMaximo Asset Management ist ein Enterprise-Asset-Management-System, das umfassenden Support für Assets, Maintenance, Ressourcen und Supply-Chain-Management-Anforderungen bietet.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2023-0554"}],"affected":[],"product_status":[{"vendor":"BSI","product":"IBM Maximo Asset Management 7.6.1.2","cpe":"cpe:/a:ibm:maximo_asset_management:7.6.1.2","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2023-0554"}],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0554.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0554"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/6959695"}]},{"provider":"nvd","source_id":"CVE-2022-23647","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23647","severity":[],"affected":[{"ecosystem":"NVD","package":"prismjs:prism","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.14.0"},{"fixed":"1.27.0"}]}],"fixed":["1.27.0"],"provider":"nvd","source":"CVE-2022-23647","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2022-23647","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2022-23647","published_at":"2022-02-18T15:15:07.74Z","modified_at":"2026-11-18T06:02:10.460634Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"DEBIAN-CVE-2022-23647"}],"affected":[{"ecosystem":"Debian:12","package":"node-prismjs","purl":"pkg:deb/debian/node-prismjs?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.0+dfsg+~1.26.0-1"}]}],"fixed":["1.27.0+dfsg+~1.26.0-1"],"provider":"osv","source":"DEBIAN-CVE-2022-23647","relation":"self"},{"ecosystem":"Debian:13","package":"node-prismjs","purl":"pkg:deb/debian/node-prismjs?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.0+dfsg+~1.26.0-1"}]}],"fixed":["1.27.0+dfsg+~1.26.0-1"],"provider":"osv","source":"DEBIAN-CVE-2022-23647","relation":"self"},{"ecosystem":"Debian:14","package":"node-prismjs","purl":"pkg:deb/debian/node-prismjs?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.27.0+dfsg+~1.26.0-1"}]}],"fixed":["1.27.0+dfsg+~1.26.0-1"],"provider":"osv","source":"DEBIAN-CVE-2022-23647","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-23647"}]},{"provider":"osv","source_id":"GHSA-3949-f494-cm99","relation":"self","url":"https://osv.dev/vulnerability/GHSA-3949-f494-cm99","license":"CC-BY-4.0","published_at":"2022-02-22T19:32:18Z","modified_at":"2023-11-08T04:08:26.360065Z","summary":"Cross-site Scripting in Prism","details":"### Impact\nPrism's [Command line plugin](https://prismjs.com/plugins/command-line/) can be used by attackers to achieve an XSS attack. The Command line plugin did not properly escape its output, leading to the input text being inserted into the DOM as HTML code.\n\nServer-side usage of Prism is not impacted. Websites that do not use the Command Line plugin are also not impacted.\n\n### Patches\nThis bug has been fixed in v1.27.0.\n\n### Workarounds\nDo not use the Command line plugin on untrusted inputs, or sanitized all code blocks (remove all HTML code text) from all code blocks that use the Command line plugin.\n\n### References\n- https://github.com/PrismJS/prism/pull/3341","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L","source":"GHSA-3949-f494-cm99"}],"affected":[{"ecosystem":"npm","package":"prismjs","purl":"pkg:npm/prismjs","ranges":[{"type":"SEMVER","events":[{"introduced":"1.14.0"},{"fixed":"1.27.0"}]}],"fixed":["1.27.0"],"provider":"osv","source":"GHSA-3949-f494-cm99","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/PrismJS/prism/security/advisories/GHSA-3949-f494-cm99"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23647"},{"type":"WEB","url":"https://github.com/PrismJS/prism/pull/3341"},{"type":"WEB","url":"https://github.com/PrismJS/prism/commit/e002e78c343154e1c0ddf9d6a0bb85689e1a5c7c"},{"type":"PACKAGE","url":"https://github.com/PrismJS/prism"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2022-23647","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2022-23647","license":"CC-BY-SA-4.0","published_at":"2022-02-18T15:15:00Z","modified_at":"2025-10-24T04:53:29Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:L","source":"UBUNTU-CVE-2022-23647"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"UBUNTU-CVE-2022-23647"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2022-23647"}],"affected":[{"ecosystem":"Ubuntu:20.04:LTS","package":"node-prismjs","purl":"pkg:deb/ubuntu/node-prismjs@1.11.0+dfsg-3?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+dfsg-2","1.11.0+dfsg-3"],"provider":"osv","source":"UBUNTU-CVE-2022-23647","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"node-prismjs","purl":"pkg:deb/ubuntu/node-prismjs@1.27.0+dfsg+~1.26.0-1?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.23.0+dfsg-1","1.25.0+dfsg-1","1.27.0+dfsg+~1.26.0-1"],"provider":"osv","source":"UBUNTU-CVE-2022-23647","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-23647"},{"type":"REPORT","url":"https://github.com/PrismJS/prism/security/advisories/GHSA-3949-f494-cm99"},{"type":"REPORT","url":"https://github.com/PrismJS/prism/issues/3340"},{"type":"REPORT","url":"https://github.com/PrismJS/prism/pull/3341"},{"type":"REPORT","url":"https://github.com/PrismJS/prism/commit/e002e78c343154e1c0ddf9d6a0bb85689e1a5c7c"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-23647"}]},{"provider":"redhat-vex","source_id":"CVE-2022-23647","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-23647","license":"CC-BY-4.0","published_at":"2022-02-18T00:00:00Z","modified_at":"2026-08-04T16:33:22Z","summary":"prismjs: improperly escaped output allows a XSS","details":"A Cross-site scripting attack was found in Prism. The command-line plugin did not properly escape its output. This issue leads to the input text being inserted into the Document Object Model (DOM) as HTML code, which can be exploited by an attacker.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CVE-2022-23647"},{"type":"Red Hat","score":"Important","source":"CVE-2022-23647"}],"affected":[{"ecosystem":"Red Hat:ocp_tools","package":"odo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2022-23647","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"not_affected","packages":["migration-toolkit-virtualization/mtv-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"OpenShift Developer Tools and Services","cpe":"cpe:/a:redhat:ocp_tools","status":"affected","packages":["odo"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.1","cpe":"cpe:/a:redhat:service_mesh:2.1","status":"not_affected","packages":["openshift-service-mesh/kiali-rhel8","servicemesh-grafana"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"RHINT Service Registry 2.3.0 GA","cpe":"cpe:/a:redhat:service_registry:2.3","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2022:6835"],"provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat 3scale API Management Platform 2","cpe":"cpe:/a:redhat:3scale:2.13","status":"affected","packages":["3scale-amp2/apicast-rhel7-operator","3scale-amp2/apicast-rhel7-operator-metadata"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat A-MQ Online","cpe":"cpe:/a:redhat:amq_online:1","status":"not_affected","packages":["prismjs"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"not_affected","packages":["advanced-cluster-security/rhacs-docs-rhel8","advanced-cluster-security/rhacs-main-rhel8","advanced-cluster-security/rhacs-rhel8-operator","advanced-cluster-security/rhacs-roxctl-rhel8"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["aap-azure-ui"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 3","cpe":"cpe:/a:redhat:ceph_storage:3","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 4","cpe":"cpe:/a:redhat:ceph_storage:4","status":"not_affected","packages":["rhceph/rhceph-4-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 5","cpe":"cpe:/a:redhat:ceph_storage:5","status":"not_affected","packages":["rhceph/rhceph-5-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Data Grid 8.4.0","cpe":"cpe:/a:redhat:jboss_data_grid:8","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2022:8524"],"provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["grafana","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"],"package_count":14,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["grafana","grafana-selinux"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","cpe":"cpe:/a:redhat:camel_k:1","status":"not_affected","packages":["prismjs"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Integration Camel Quarkus 1","cpe":"cpe:/a:redhat:camel_quarkus:2","status":"not_affected","packages":["prismjs"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Integration Data Virtualisation Operator","cpe":"cpe:/a:redhat:integration:1","status":"not_affected","packages":["prismjs"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Integration Service Registry","cpe":"cpe:/a:redhat:integration:1","status":"affected","packages":["prismjs"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","cpe":"cpe:/a:redhat:openshift:3.11","status":"not_affected","packages":["openshift3/grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps","cpe":"cpe:/a:redhat:openshift_gitops:1","status":"affected","packages":["openshift-gitops-1/argocd-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-23647"},{"vendor":"Red Hat","product":"Red Hat Storage 3","cpe":"cpe:/a:redhat:storage:3","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-23647"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-23647.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-23647"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2056643"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-23647"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23647"},{"type":"WEB","url":"https://github.com/PrismJS/prism/security/advisories/GHSA-3949-f494-cm99"}]}],"references":[{"type":"WEB","url":"https://github.com/PrismJS/prism/security/advisories/GHSA-3949-f494-cm99"},{"type":"WEB","url":"https://github.com/PrismJS/prism/pull/3341"},{"type":"WEB","url":"https://github.com/PrismJS/prism/commit/e002e78c343154e1c0ddf9d6a0bb85689e1a5c7c"},{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0554.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0554"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/6959695"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-23647"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23647"},{"type":"PACKAGE","url":"https://github.com/PrismJS/prism"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-23647"},{"type":"REPORT","url":"https://github.com/PrismJS/prism/issues/3340"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-23647"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-23647.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-23647"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2056643"}],"sources":[{"provider":"osv","source_id":"CLSA-2026-1793304056","url":"https://osv.dev/vulnerability/CLSA-2026-1793304056","modified_at":"2026-10-30T02:15:07.694579Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2022-23647","url":"https://www.cve.org/CVERecord?id=CVE-2022-23647","license":"CC-BY-4.0","modified_at":"2025-04-23T19:02:44.473Z","relation":"self"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-0554","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0554","license":"TLP:CLEAR, mirroring permitted","modified_at":"2023-03-02T23:00:00Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-23647","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23647","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2022-23647","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2022-23647","modified_at":"2026-11-18T06:02:10.460634Z","relation":"self"},{"provider":"osv","source_id":"GHSA-3949-f494-cm99","url":"https://osv.dev/vulnerability/GHSA-3949-f494-cm99","license":"CC-BY-4.0","modified_at":"2023-11-08T04:08:26.360065Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2022-23647","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2022-23647","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:53:29Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-23647","url":"https://access.redhat.com/security/cve/CVE-2022-23647","license":"CC-BY-4.0","modified_at":"2026-08-04T16:33:22Z","relation":"self"}]}
