cve.bz

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

3.5 lowEPSS 0.9%Fix available

Low (3.5) in grafana grafana. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/grafana/grafana 8.5.16, 9.2.8.

On this page
Grafana is an open-source platform for monitoring and observability. Prior to versions 8.5.16 and 9.2.8, malicious user can create a snapshot and arbitrarily choose the `originalUrl` parameter by editing the query, thanks to a web proxy. When another user opens the URL of the snapshot, they will be presented with the regular web interface delivered by the trusted Grafana server. The `Open original dashboard` button no longer points to the to the real original dashboard but to the attacker’s injected URL. This issue is fixed in versions 8.5.16 and 9.2.8.

Severity

CVSS 3.1

3.5 low
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th 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-39324 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-39324?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-39324?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-39324 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:grafanabefore 8.5.16
grafana:grafanafrom 9.0.0 before 9.2.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4724-7jwc-3fpwGogithub.com/grafana/grafana>=9.0.0 <9.2.89.2.8
GHSA-4724-7jwc-3fpwGogithub.com/grafana/grafana<8.5.168.5.16
GO-2024-2867Gogithub.com/grafana/grafanaall versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgrafanano fix listedUBUNTU-CVE-2022-39324
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: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; 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: Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

OpenShift Service Mesh containers include the Grafana RPM from RHEL and consume CVE fixes for Grafana from RHEL channels. The servicemesh-grafana RPM shipped in early versions of OpenShift Service Mesh 2.1 is no longer maintained.

ProductPackageStateAdvisory
Red Hat Ceph Storage 6.1rhceph/rhceph-6-dashboard-rhel9:6-75Fixed 2023-06-15RHSA-2023:3642
Red Hat Enterprise Linux 9grafana-0:9.2.10-7.el9_3Fixed 2023-11-07RHSA-2023:6420
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/grafana-rhel8Will not fix
OpenShift Service Mesh 2.0openshift-service-mesh/grafana-rhel8Out of support scope
OpenShift Service Mesh 2.0servicemesh-grafanaOut of support scope
OpenShift Service Mesh 2.1openshift-service-mesh/grafana-rhel8Will not fix
OpenShift Service Mesh 2.1servicemesh-grafanaWill not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel8Affected
Red Hat build of QuarkusgrafanaNot affected
Red Hat Ceph Storage 3grafanaOut of support scope
Red Hat Ceph Storage 4rhceph/rhceph-4-dashboard-rhel8Affected
Red Hat Ceph Storage 5rhceph/rhceph-5-dashboard-rhel8Affected
Red Hat Enterprise Linux 8grafanaWill not fix
Red Hat OpenShift Container Platform 3.11openshift3/grafanaOut of support scope
Red Hat OpenShift Container Platform 4openshift4/ose-cluster-monitoring-operatorNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-prometheusNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-prometheus-rhel9-operatorNot affected
3 more in the JSON and on Red Hat's page.

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-39324.

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