{"id":"CVE-2023-22462","aliases":["BIT-grafana-2023-22462","GHSA-7rqg-hjwc-6mjf","UBUNTU-CVE-2023-22462"],"summary":"Stored XSS in Grafana Text plugin","published_at":"2023-03-01T20:56:49Z","modified_at":"2026-09-10T03:49:52.753855Z","products":[{"slug":"grafana","name":"Grafana","category":"monitoring"},{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"medium","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","attack_path":"internet_authenticated","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"SUSE","rating":"moderate"},{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.01561999972909689,"percentile":0.7579299807548523,"date":"2026-11-19T00:00:00Z"},"priority":6.9,"details":"Grafana is an open-source platform for monitoring and observability. On 2023-01-01 during an internal audit of Grafana, a member of the security team found a stored XSS vulnerability affecting the core plugin \"Text\". The stored XSS vulnerability requires several user interactions in order to be fully exploited. The vulnerability was possible due to React's render cycle that will pass though the unsanitized HTML code, but in the next cycle the HTML is cleaned up and saved in Grafana's database. An attacker needs to have the Editor role in order to change a Text panel to include JavaScript. Another user needs to edit the same Text panel, and click on \"Markdown\" or \"HTML\" for the code to be executed. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. This issue has been patched in versions 9.2.10 and 9.3.4.","affected_stack":[{"ecosystem":"Bitnami","package":"grafana","purl":"pkg:bitnami/grafana","ranges":[{"type":"SEMVER","events":[{"introduced":"9.2.0"},{"fixed":"9.2.10"},{"introduced":"9.3.0"},{"fixed":"9.3.4"}]}],"fixed":["9.2.10","9.3.4"],"provider":"osv","source":"BIT-grafana-2023-22462","relation":"self"},{"ecosystem":"CVE","package":"grafana/grafana","versions":[">= 9.2, < 9.2.10",">= 9.3, < 9.3.4"],"provider":"cvelistv5","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"type":"SEMVER","events":[{"introduced":"9.2.0"},{"fixed":"9.2.10"}]}],"fixed":["9.2.10"],"provider":"osv","source":"GHSA-7rqg-hjwc-6mjf","relation":"self"},{"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"type":"SEMVER","events":[{"introduced":"9.3.0"},{"fixed":"9.3.4"}]}],"fixed":["9.3.4"],"provider":"osv","source":"GHSA-7rqg-hjwc-6mjf","relation":"self"},{"ecosystem":"NVD","package":"grafana:grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.2.0"},{"fixed":"9.2.10"}]},{"type":"ECOSYSTEM","events":[{"introduced":"9.3.0"},{"fixed":"9.3.4"}]}],"fixed":["9.2.10","9.3.4"],"provider":"nvd","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:ceph_storage:3","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-azure-monitor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-cloudwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-graphite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-influxdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-loki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-mssql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-opentsdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-postgres","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-selinux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-stackdriver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"grafana-selinux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.1","package":"servicemesh-grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:storage:3","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"}],"affected_other":[{"ecosystem":"Ubuntu:16.04:LTS","package":"grafana","purl":"pkg:deb/ubuntu/grafana@2.6.0+dfsg-1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-1"],"provider":"osv","source":"UBUNTU-CVE-2023-22462","relation":"self"}],"product_status":[{"vendor":"SUSE","product":"HPE Helion OpenStack 8","cpe":"cpe:/o:suse:hpe-helion-openstack:8","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Enterprise Storage 6","cpe":"cpe:/o:suse:ses:6","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Package Hub 15 SP4","cpe":"cpe:/o:suse:packagehub:15:sp4","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Manager Client Tools Beta for SLE 12","cpe":"cpe:/o:suse:sle-manager-tools-beta:12","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Manager Client Tools Beta for SLE 15","cpe":"cpe:/o:suse:sle-manager-tools-beta:15","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Manager Client Tools for SLE 12","cpe":"cpe:/o:suse:sle-manager-tools:12","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Manager Client Tools for SLE 15","cpe":"cpe:/o:suse:sle-manager-tools:15","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 8","cpe":"cpe:/o:suse:suse-openstack-cloud:8","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 9","cpe":"cpe:/o:suse:suse-openstack-cloud:9","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 8","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:8","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 9","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:9","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.1","cpe":"cpe:/a:redhat:service_mesh:2.1","status":"affected","packages":["servicemesh-grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/acm-grafana-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 3","cpe":"cpe:/a:redhat:ceph_storage:3","status":"affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 4","cpe":"cpe:/a:redhat:ceph_storage:4","status":"affected","packages":["rhceph/rhceph-4-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 5.3 Tools","cpe":"cpe:/a:redhat:ceph_storage:5.3::el8","status":"fixed","packages":["rhceph/rhceph-5-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":["RHSA-2024:0746"],"provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 5.3 Tools","cpe":"cpe:/a:redhat:ceph_storage:5.3::el8","status":"not_affected","packages":["rhceph/keepalived-rhel8","rhceph/rhceph-5-rhel8","rhceph/rhceph-haproxy-rhel8","rhceph/snmp-notifier-rhel8"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"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":"Will not fix","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"affected","packages":["grafana","grafana-selinux"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2023-22462"},{"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-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Storage 3","cpe":"cpe:/a:redhat:storage:3","status":"affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2023-22462"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-0528","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0528","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-02-28T23:00:00Z","modified_at":"2024-02-08T23:00:00Z","summary":"Grafana: Mehrere Schwachstellen ermöglichen Cross-Site Scripting","details":"Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Grafana ausnutzen, um einen Cross-Site Scripting Angriff durchzuführen.\n\nGrafana ist eine Open-Source Analyse- und Visualisierungssoftware.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2023-0528"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0528.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0528"},{"type":"WEB","url":"https://grafana.com/blog/2023/02/28/grafana-security-release-new-versions-with-security-fixes-for-cve-2023-0594-cve-2023-0507-and-cve-2023-22462/"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2023-April/014494.html"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2023-April/014496.html"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2023-April/014495.html"},{"type":"WEB","url":"https://www.hitachi.com/products/it/software/security/info/vuls/hitachi-sec-2023-144/index.html"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2024-January/017744.html"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2024-January/017743.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:0746"}]},{"provider":"cvelistv5","source_id":"CVE-2023-22462","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-22462","license":"CC-BY-4.0","published_at":"2023-03-02T00:06:59.876Z","modified_at":"2026-01-28T04:55:37.854Z","summary":"Stored XSS in Grafana Text plugin","details":"Grafana is an open-source platform for monitoring and observability. On 2023-01-01 during an internal audit of Grafana, a member of the security team found a stored XSS vulnerability affecting the core plugin \"Text\". The stored XSS vulnerability requires several user interactions in order to be fully exploited. The vulnerability was possible due to React's render cycle that will pass though the unsanitized HTML code, but in the next cycle the HTML is cleaned up and saved in Grafana's database. An attacker needs to have the Editor role in order to change a Text panel to include JavaScript. Another user needs to edit the same Text panel, and click on \"Markdown\" or \"HTML\" for the code to be executed. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. This issue has been patched in versions 9.2.10 and 9.3.4.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"CVE-2023-22462"}],"affected":[{"ecosystem":"CVE","package":"grafana/grafana","versions":[">= 9.2, < 9.2.10",">= 9.3, < 9.3.4"],"provider":"cvelistv5","source":"CVE-2023-22462","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/grafana/grafana/security/advisories/GHSA-7rqg-hjwc-6mjf"},{"type":"WEB","url":"https://github.com/grafana/grafana/commit/db83d5f398caffe35c5846cfa7727d1a2a414165"},{"type":"WEB","url":"https://grafana.com/blog/2023/02/28/grafana-security-release-new-versions-with-security-fixes-for-cve-2023-0594-cve-2023-0507-and-cve-2023-22462/"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230413-0004/"}]},{"provider":"csaf-suse","source_id":"CVE-2023-22462","relation":"self","url":"https://www.suse.com/security/cve/CVE-2023-22462/","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-03-03T03:53:00Z","modified_at":"2025-04-08T02:14:03Z","summary":"SUSE CVE CVE-2023-22462","details":"SUSE CVE-2023-22462\n\nGrafana is an open-source platform for monitoring and observability. On 2023-01-01 during an internal audit of Grafana, a member of the security team found a stored XSS vulnerability affecting the core plugin \"Text\". The stored XSS vulnerability requires several user interactions in order to be fully exploited. The vulnerability was possible due to React's render cycle that will pass though the unsanitized HTML code, but in the next cycle the HTML is cleaned up and saved in Grafana's database. An attacker needs to have the Editor role in order to change a Text panel to include JavaScript. Another user needs to edit the same Text panel, and click on \"Markdown\" or \"HTML\" for the code to be executed. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. This issue has been patched in versions 9.2.10 and 9.3.4.","severity":[{"type":"SUSE","score":"moderate","source":"CVE-2023-22462"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"HPE Helion OpenStack 8","cpe":"cpe:/o:suse:hpe-helion-openstack:8","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Enterprise Storage 6","cpe":"cpe:/o:suse:ses:6","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Package Hub 15 SP4","cpe":"cpe:/o:suse:packagehub:15:sp4","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Manager Client Tools Beta for SLE 12","cpe":"cpe:/o:suse:sle-manager-tools-beta:12","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Manager Client Tools Beta for SLE 15","cpe":"cpe:/o:suse:sle-manager-tools-beta:15","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Manager Client Tools for SLE 12","cpe":"cpe:/o:suse:sle-manager-tools:12","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE Manager Client Tools for SLE 15","cpe":"cpe:/o:suse:sle-manager-tools:15","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 8","cpe":"cpe:/o:suse:suse-openstack-cloud:8","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 9","cpe":"cpe:/o:suse:suse-openstack-cloud:9","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 8","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:8","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 9","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:9","status":"not_affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-22462"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2023-22462"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1208818"}]},{"provider":"nvd","source_id":"CVE-2023-22462","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22462","severity":[],"affected":[{"ecosystem":"NVD","package":"grafana:grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.2.0"},{"fixed":"9.2.10"}]},{"type":"ECOSYSTEM","events":[{"introduced":"9.3.0"},{"fixed":"9.3.4"}]}],"fixed":["9.2.10","9.3.4"],"provider":"nvd","source":"CVE-2023-22462","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-grafana-2023-22462","relation":"self","url":"https://osv.dev/vulnerability/BIT-grafana-2023-22462","license":"Apache-2.0","published_at":"2024-03-06T10:53:25.17Z","modified_at":"2026-09-08T08:47:51.139611Z","summary":"Stored XSS in Grafana Text plugin","details":"Grafana is an open-source platform for monitoring and observability. On 2023-01-01 during an internal audit of Grafana, a member of the security team found a stored XSS vulnerability affecting the core plugin \"Text\". The stored XSS vulnerability requires several user interactions in order to be fully exploited. The vulnerability was possible due to React's render cycle that will pass though the unsanitized HTML code, but in the next cycle the HTML is cleaned up and saved in Grafana's database. An attacker needs to have the Editor role in order to change a Text panel to include JavaScript. Another user needs to edit the same Text panel, and click on \"Markdown\" or \"HTML\" for the code to be executed. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. This issue has been patched in versions 9.2.10 and 9.3.4.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"BIT-grafana-2023-22462"}],"affected":[{"ecosystem":"Bitnami","package":"grafana","purl":"pkg:bitnami/grafana","ranges":[{"type":"SEMVER","events":[{"introduced":"9.2.0"},{"fixed":"9.2.10"},{"introduced":"9.3.0"},{"fixed":"9.3.4"}]}],"fixed":["9.2.10","9.3.4"],"provider":"osv","source":"BIT-grafana-2023-22462","relation":"self"}],"product_status":[],"references":[{"type":"FIX","url":"https://github.com/grafana/grafana/commit/db83d5f398caffe35c5846cfa7727d1a2a414165"},{"type":"ADVISORY","url":"https://github.com/grafana/grafana/security/advisories/GHSA-7rqg-hjwc-6mjf"},{"type":"ADVISORY","url":"https://grafana.com/blog/2023/02/28/grafana-security-release-new-versions-with-security-fixes-for-cve-2023-0594-cve-2023-0507-and-cve-2023-22462/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230413-0004/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22462"}]},{"provider":"osv","source_id":"GHSA-7rqg-hjwc-6mjf","relation":"self","url":"https://osv.dev/vulnerability/GHSA-7rqg-hjwc-6mjf","license":"CC-BY-4.0","published_at":"2023-03-01T20:56:49Z","modified_at":"2026-09-10T03:49:52.753855Z","summary":"Grafana vulnerable to Stored Cross-site Scripting in Text plugin","details":"### Description \nOn 2023-01-01 during an internal audit of Grafana, a member of the security team found a stored XSS vulnerability affecting the core plugin \"Text\".\n\nThe stored XSS vulnerability requires several user interactions in order to be fully exploited. The vulnerability was possible due to  React's render cycle that will pass though the unsanitized HTML code, but in the next cycle the HTML is cleaned up and saved in Grafana's database.\n\n### Impact\nAn attacker needs to have the Editor role in order to change a Text panel to include JavaScript. later, an another user needs to edit the same Text panel, and click on \"Markdown\" or \"HTML\" for the code to be executed. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard.   \n\n### Impacted versions\nGrafana versions between 9.2.0 and 9.2.10. and between 9.3.0 and 9.3.4\n\n### Solutions and mitigations\nUpdate your Grafana instance.\n\n\n## Reporting security issues\n\nIf you think you have found a security vulnerability, please send a report to security@grafana.com. This address can be used for all of Grafana Labs' open source and commercial products (including, but not limited to Grafana, Grafana Cloud, Grafana Enterprise, and grafana.com). We can accept only vulnerability reports at this address. We would prefer that you encrypt your message to us by using our PGP key. The key fingerprint is\n\nF988 7BEA 027A 049F AE8E 5CAA D125 8932 BE24 C5CA\n\nThe key is available from keyserver.ubuntu.com.\n\n## Security announcements\n\nWe maintain a [security category](https://community.grafana.com/c/support/security-announcements) on our blog, where we will always post a summary, remediation, and mitigation details for any patch containing security fixes.\n\nYou can also subscribe to our [RSS feed](https://grafana.com/tags/security/index.xml).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"GHSA-7rqg-hjwc-6mjf"}],"affected":[{"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"type":"SEMVER","events":[{"introduced":"9.2.0"},{"fixed":"9.2.10"}]}],"fixed":["9.2.10"],"provider":"osv","source":"GHSA-7rqg-hjwc-6mjf","relation":"self"},{"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"type":"SEMVER","events":[{"introduced":"9.3.0"},{"fixed":"9.3.4"}]}],"fixed":["9.3.4"],"provider":"osv","source":"GHSA-7rqg-hjwc-6mjf","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/grafana/grafana/security/advisories/GHSA-7rqg-hjwc-6mjf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22462"},{"type":"WEB","url":"https://github.com/grafana/grafana/commit/db83d5f398caffe35c5846cfa7727d1a2a414165"},{"type":"PACKAGE","url":"https://github.com/grafana/grafana"},{"type":"WEB","url":"https://grafana.com/blog/2023/02/28/grafana-security-release-new-versions-with-security-fixes-for-cve-2023-0594-cve-2023-0507-and-cve-2023-22462"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230413-0004"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2023-22462","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2023-22462","license":"CC-BY-SA-4.0","published_at":"2023-03-02T01:15:00Z","modified_at":"2025-10-24T05:01:46Z","details":"Grafana is an open-source platform for monitoring and observability. On 2023-01-01 during an internal audit of Grafana, a member of the security team found a stored XSS vulnerability affecting the core plugin \"Text\". The stored XSS vulnerability requires several user interactions in order to be fully exploited. The vulnerability was possible due to React's render cycle that will pass though the unsanitized HTML code, but in the next cycle the HTML is cleaned up and saved in Grafana's database. An attacker needs to have the Editor role in order to change a Text panel to include JavaScript. Another user needs to edit the same Text panel, and click on \"Markdown\" or \"HTML\" for the code to be executed. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. This issue has been patched in versions 9.2.10 and 9.3.4.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"UBUNTU-CVE-2023-22462"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"UBUNTU-CVE-2023-22462"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2023-22462"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"grafana","purl":"pkg:deb/ubuntu/grafana@2.6.0+dfsg-1?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.0+dfsg-1"],"provider":"osv","source":"UBUNTU-CVE-2023-22462","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-22462"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-22462"}]},{"provider":"redhat-vex","source_id":"CVE-2023-22462","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-22462","license":"CC-BY-4.0","published_at":"2023-03-02T00:00:00Z","modified_at":"2026-01-27T08:38:36Z","summary":"grafana: stored XSS vulnerability affecting the core plugin \"Text\"","details":"A flaw was found in the Grafana core plugin, \"Text.\" The vulnerability was possible due to React's render cycle that will pass through unsanitized HTML code. However, the HTML is cleaned and saved in Grafana's database in the next cycle. An attacker needs the Editor role in changing a Text panel to include JavaScript. Later, another user needs to edit the same Text panel and click \"Markdown\" or \"HTML\" to execute the code. This issue allows possible vertical privilege escalation, where a user with an Editor role can change to a known password for a user having an Admin role if the user with an Admin role executes malicious JavaScript viewing a dashboard.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"CVE-2023-22462"},{"type":"Red Hat","score":"Moderate","source":"CVE-2023-22462"}],"affected":[{"ecosystem":"Red Hat:ceph_storage:3","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-azure-monitor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-cloudwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-elasticsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-graphite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-influxdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-loki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-mssql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-mysql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-opentsdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-postgres","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-prometheus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-selinux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:8","package":"grafana-stackdriver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:enterprise_linux:9","package":"grafana-selinux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:service_mesh:2.1","package":"servicemesh-grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"},{"ecosystem":"Red Hat:storage:3","package":"grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2023-22462","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.1","cpe":"cpe:/a:redhat:service_mesh:2.1","status":"affected","packages":["servicemesh-grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/acm-grafana-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 3","cpe":"cpe:/a:redhat:ceph_storage:3","status":"affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 4","cpe":"cpe:/a:redhat:ceph_storage:4","status":"affected","packages":["rhceph/rhceph-4-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 5.3 Tools","cpe":"cpe:/a:redhat:ceph_storage:5.3::el8","status":"fixed","packages":["rhceph/rhceph-5-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":["RHSA-2024:0746"],"provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 5.3 Tools","cpe":"cpe:/a:redhat:ceph_storage:5.3::el8","status":"not_affected","packages":["rhceph/keepalived-rhel8","rhceph/rhceph-5-rhel8","rhceph/rhceph-haproxy-rhel8","rhceph/snmp-notifier-rhel8"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"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":"Will not fix","provider":"redhat-vex","source":"CVE-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"affected","packages":["grafana","grafana-selinux"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2023-22462"},{"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-2023-22462"},{"vendor":"Red Hat","product":"Red Hat Storage 3","cpe":"cpe:/a:redhat:storage:3","status":"affected","packages":["grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2023-22462"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-22462.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-22462"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2164936"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-22462"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22462"}]}],"references":[{"type":"WEB","url":"https://github.com/grafana/grafana/security/advisories/GHSA-7rqg-hjwc-6mjf"},{"type":"WEB","url":"https://github.com/grafana/grafana/commit/db83d5f398caffe35c5846cfa7727d1a2a414165"},{"type":"WEB","url":"https://grafana.com/blog/2023/02/28/grafana-security-release-new-versions-with-security-fixes-for-cve-2023-0594-cve-2023-0507-and-cve-2023-22462/"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230413-0004/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2023-22462"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1208818"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22462"},{"type":"PACKAGE","url":"https://github.com/grafana/grafana"},{"type":"WEB","url":"https://grafana.com/blog/2023/02/28/grafana-security-release-new-versions-with-security-fixes-for-cve-2023-0594-cve-2023-0507-and-cve-2023-22462"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230413-0004"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-22462"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-22462"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-22462.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-22462"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2164936"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-0528","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0528","license":"TLP:CLEAR, mirroring permitted","modified_at":"2024-02-08T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2023-22462","url":"https://www.cve.org/CVERecord?id=CVE-2023-22462","license":"CC-BY-4.0","modified_at":"2026-01-28T04:55:37.854Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2023-22462","url":"https://www.suse.com/security/cve/CVE-2023-22462/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-04-08T02:14:03Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-22462","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22462","relation":"self"},{"provider":"osv","source_id":"BIT-grafana-2023-22462","url":"https://osv.dev/vulnerability/BIT-grafana-2023-22462","license":"Apache-2.0","modified_at":"2026-09-08T08:47:51.139611Z","relation":"self"},{"provider":"osv","source_id":"GHSA-7rqg-hjwc-6mjf","url":"https://osv.dev/vulnerability/GHSA-7rqg-hjwc-6mjf","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:52.753855Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2023-22462","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2023-22462","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T05:01:46Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-22462","url":"https://access.redhat.com/security/cve/CVE-2023-22462","license":"CC-BY-4.0","modified_at":"2026-01-27T08:38:36Z","relation":"self"}]}
