Skip to content
Heist/ feed
Back to feed
Medium

Grafana vulnerable to spoofing originalUrl of snapshots

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-39324
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:30 UTC · Revision 1

Source evidence

Grafana vulnerable to spoofing originalUrl of snapshots

core-osv · Original source

Published 27 Jan 2023, 22:42 UTC

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.

osv:CVE-2022-39324
Complete source record
{
  "id": "338c2b92ec4d6f59e61aac08efef45252e2bd886a3292083b8465e01b7500d66",
  "url": "https://osv.dev/vulnerability/CVE-2022-39324",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Grafana vulnerable to spoofing originalUrl of snapshots",
    "summary": "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.",
    "evidence": "osv:CVE-2022-39324",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-39324",
      "aliases": [
        "BIT-grafana-2022-39324",
        "CVE-2022-39324",
        "GHSA-4724-7jwc-3fpw",
        "GO-2024-2867"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/grafana/grafana",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "05bf2419528631e6dedfd34bf853f48b4bb3a552"
                },
                {
                  "introduced": "b5c56f63710e09f37b8557ddd8b99ae3fc583169"
                },
                {
                  "fixed": "796e2e020c2f818b8bdc7c2b2e548a15ce3d16cc"
                },
                {
                  "fixed": "239888f22983010576bb3a9135a7294e88c0c74a"
                },
                {
                  "fixed": "d7dcea71ea763780dc286792a0afd560bff2985c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "8.5.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.2.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "239888f22983010576bb3a9135a7294e88c0c74a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d7dcea71ea763780dc286792a0afd560bff2985c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v9.2.6",
            "v9.2.5",
            "v9.3.0-beta1",
            "v9.2.3",
            "v8.4.0-beta1",
            "v8.3.3",
            "v6.5",
            "v6.0.0-beta1",
            "v5.,2.4",
            "v5.0.0",
            "v5.0.0-beta5",
            "v5.0.0-beta4",
            "v5.0.0-beta3",
            "v5.0.0-beta2",
            "v5.0.0-beta1",
            "v4.6.0-beta1",
            "v4.5.0",
            "v4.5.0-beta1",
            "v4.4.0",
            "v3.1.0-beta1",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0-beta7",
            "v3.0.0-beta6",
            "v2.6.0",
            "v2.6.0-beta1",
            "v2.5.0",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0-beta3",
            "v2.0.0-beta1",
            "v1.9.1",
            "v1.9.0",
            "v1.9.0-rc1",
            "v1.7.0-rc1",
            "v1.6.1",
            "v1.6.0",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39324.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.362779376Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39324.json",
        "https://github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpw",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-39324",
        "https://security.netapp.com/advisory/ntap-20230309-0010/",
        "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"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39324.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-39324",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491814,
  "published_at": "2023-01-27T22:42:01.55+00:00"
}