{"id":"CVE-2022-39324","aliases":["CVE-2022-39324","GHSA-4724-7jwc-3fpw","BIT-GRAFANA-2022-39324","GO-2024-2867"],"related":["CGA-rqpv-w4hj-hmfh"],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"To create a snapshot (and insert an arbitrary URL) the built-in role Viewer is sufficient.\nWhen a dashboard is shared as a local snapshot, the following three fields are offered in the web UI for a user to fill out:\n• Snapshotname\n• Expire\n• Timeout(seconds)\nAfter the user confirms creation of the snapshot (i.e. clicks the ”Local Snapshot” button) an HTTP POST request is sent to the Grafana server. The HTTP request contains additional parameters that are not visible in the web UI. The parameter originalUrl is not visible in the web UI, but sent in the HTTP POST request.\n\nThe value of the originalUrl parameter is automatically generated. The purpose of the presented originalUrl parameter is to provide a user that views the snapshot the possibility to click on the button in the Grafana web UI and be presented with the dashboard that the snapshot was made out of.\n\nThe value of the originalUrl parameter can be arbitrarily chosen by a malicious user that creates the snapshot (Note: by editing the query thanks to a web proxy like Burp)\nWhen another user opens the URL of the snapshot, they will be presented with the regular web interface delivered by the trusted Grafana server. The issue here is that the ”Open original dashboard” button no longer points to the to the real original dashboard but to the attacker’s (injected) URL.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Grafana Spoofing originalUrl of snapshots in github.com/grafana/grafana.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/grafana/grafana before v8.5.16, from v9.0.0 before v9.2.8.","format":"markdown","source":"go"},{"lang":"es","text":"Grafana es una plataforma de código abierto para monitoreo y observabilidad. Antes de las versiones 8.5.16 y 9.2.8, los usuarios malintencionados podían crear una instantánea y elegir arbitrariamente el parámetro \"originalUrl\" editando la consulta, gracias a un proxy web. Cuando otro usuario abra la URL de la instantánea, se le presentará la interfaz web normal proporcionada por el servidor confiable de Grafana. El botón \"Abrir panel original\" ya no apunta al panel original real sino a la URL inyectada por el atacante. Este problema se solucionó en las versiones 8.5.16 y 9.2.8.","source":"nvd"}],"published":"2023-01-27T22:42:01.550Z","modified":"2026-11-03T23:49:30.784Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","score":6.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","score":6.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","score":6.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 8.5.16","status":"affected"},{"version":">= 9.0.0, < 9.2.8","status":"affected"}],"vendor":"grafana","product":"grafana","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.2.8"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.5.16"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","source":"go"},{"ranges":[{"status":"affected","fixed":"8.5.16"},{"status":"affected","introduced":"9.0.0","fixed":"9.2.8"}],"vendor":"grafana","product":"grafana","cpe":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.5.16"},{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.2.8"}],"ecosystem":"Bitnami","package":"grafana","purl":"pkg:bitnami/grafana","source":"bitnami"}],"references":[{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpw","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/grafana/grafana/pull/60232","tags":["advisory","fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/grafana/grafana/pull/60256","tags":["advisory","fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74a","tags":["advisory","fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985c","tags":["advisory","fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20230309-0010/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39324","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/grafana/grafana","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-28T04:55:23.057Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39324","url":"https://www.cve.org/CVERecord?id=CVE-2022-39324","licence":"CVE Terms of Use","modified":"2026-11-03T23:49:30.784Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4724-7jwc-3fpw","url":"https://github.com/advisories/GHSA-4724-7jwc-3fpw","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:13.159Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2867","url":"https://pkg.go.dev/vuln/GO-2024-2867","licence":"CC-BY-4.0","modified":"2026-02-04T02:50:22.132Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39324","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39324","licence":"Public domain","modified":"2026-11-03T22:17:11.260Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GRAFANA-2022-39324","url":"https://osv.dev/vulnerability/BIT-GRAFANA-2022-39324","licence":"Apache-2.0","modified":"2026-09-10T16:01:21.768Z"}],"updatedAt":"2026-11-25T22:58:18.398Z","epss":{"score":0.00979,"percentile":0.63197,"date":"2026-12-01T12:00:22.000Z"}}