What’s Vulnerable › Vulnerabilities
CVE-2022-39324: Grafana vulnerable to spoofing originalUrl of snapshots
- Severity: low (CVSS 3.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-01-27 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- Grafana: before 8.5.16; from 9.0.0 before 9.2.8 — fixed in 8.5.16, 9.2.8
How to fix
Upgrade to a fixed version: Grafana 8.5.16, 9.2.8. Check the vendor advisory for mitigations.
References
- https://github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74a
- https://github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985c
- https://github.com/grafana/grafana/pull/60232
- https://github.com/grafana/grafana/pull/60256
- https://github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpw
- https://github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74a
- https://github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985c
- https://github.com/grafana/grafana/pull/60232
- https://github.com/grafana/grafana/pull/60256
- https://github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpw
- https://security.netapp.com/advisory/ntap-20230309-0010/
Get alerted when CVE-2022-39324 or the next vulnerability affects your stack