cve.bz

CVE-2022-23552 grafana grafana: Cross-site Scripting

5.4 mediumEPSS 0.8%Fix available

Medium (5.4) in grafana grafana. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
Grafana is an open-source platform for monitoring and observability. Starting with the 8.1 branch and prior to versions 8.5.16, 9.2.10, and 9.3.4, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. The stored XSS vulnerability was possible because SVG files weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance. An attacker needs to have the Editor role in order to change a panel to include either an external URL to a SVG-file containing JavaScript, or use the `data:` scheme to load an inline SVG-file containing JavaScript. 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. Users may upgrade to version 8.5.16, 9.2.10, or 9.3.4 to receive a fix.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-01-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-23552 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23552?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23552?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-23552 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
grafana:grafanafrom 8.1.0 before 8.5.16
grafana:grafanafrom 9.0.0 before 9.2.10
grafana:grafanafrom 9.3.0 before 9.3.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:9::appstreamgrafana, grafana-debuginfo, grafana-debugsource0:9.2.10-7.el9_3RHSA-2023:6420
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 14 moresupportutils-plugin-salt1.2.2-150000.3.13.1SUSE-SU-2023:0812-1
SUSELinux Enterprise Module for Package Hub 15 SP4grafana8.5.20-150200.3.35.1SUSE-SU-2023:0821-1
SUSEManager Client Tools 12grafana8.5.20-1.42.1SUSE-SU-2023:0811-1
SUSEManager Client Tools 12spacecmd4.3.19-38.118.1SUSE-SU-2023:0811-1
SUSEManager Client Tools 12spacewalk-client-tools4.3.15-52.86.1SUSE-SU-2023:0811-1
SUSEManager Client Tools 12-BETAgolang-github-QubitProducts-exporter_exporter0.4.0-4.6.2SUSE-SU-2024:0191-1
SUSEManager Client Tools 12-BETAgolang-github-boynux-squid_exporter1.6-4.9.2SUSE-SU-2024:0191-1
SUSEManager Client Tools 12-BETAgolang-github-lusitaniae-apache_exporter1.0.0-4.12.4SUSE-SU-2024:0191-1
SUSEManager Client Tools 12-BETAgolang-github-prometheus-alertmanager0.26.0-4.12.4SUSE-SU-2024:0191-1
SUSEManager Client Tools 12-BETAgolang-github-prometheus-node_exporter1.5.0-4.15.4SUSE-SU-2024:0191-1
SUSEManager Client Tools 12-BETAgolang-github-prometheus-prometheus2.45.0-4.33.3SUSE-SU-2024:0191-1
SUSEManager Client Tools 12-BETAgolang-github-prometheus-promu0.14.0-4.12.2SUSE-SU-2024:0191-1
36 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dracut-saltboot0.1.1674034019.a93ff61-150000.1.47.1SUSE-SU-2023:0812-1
openSUSELeap 15.4grafana8.5.20-150200.3.35.1SUSE-SU-2023:0821-1
openSUSELeap 15.4spacecmd4.3.19-150000.3.95.1SUSE-SU-2023:0812-1
openSUSELeap 15.4supportutils-plugin-salt1.2.2-150000.3.13.1SUSE-SU-2023:0812-1
openSUSETumbleweedgrafana8.5.20-1.1openSUSE-SU-2024:12659-1
AlmaLinux9grafana9.2.10-7.el9_3.alma.1ALSA-2023:6420

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9grafana-0:9.2.10-7.el9_3Fixed 2023-11-07RHSA-2023:6420
OpenShift Service Mesh 2.1servicemesh-grafanaNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel8Not affected
Red Hat Ceph Storage 3grafanaNot affected
Red Hat Ceph Storage 4rhceph/rhceph-4-dashboard-rhel8Not affected
Red Hat Ceph Storage 5rhceph/rhceph-5-dashboard-rhel8Not affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaNot affected
Red Hat Storage 3grafanaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-23552.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON