CVE-2022-21703: Cross Site Request Forgery in Grafana
Noroxi assessment
Priority: Monitor (action score 36/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.2% (FIRST EPSS); higher than 83% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: grafana (AlmaLinux:8) 7.5.15-3.el8; grafana (AlmaLinux:9) 7.5.15-3.el9; github.com/grafana/grafana/pkg/web (Go) 7.5.15, 8.3.5.
- Severity is disputed: the assigning authority (CNA) scores it 6.3, NVD 8.8.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to grafana (AlmaLinux:8) 7.5.15-3.el8; grafana (AlmaLinux:9) 7.5.15-3.el9; github.com/grafana/grafana/pkg/web (Go) 7.5.15, 8.3.5 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Feb 8, 2022
- Updated
- Jun 17, 2026
- EPSS
- 2.2% · 83th percentile
- CWE
- CWE-352
Report tools
Action score
36
Monitor
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 8.8
- CNA · GitHub_M
- 6.3
- 2.5 point gap
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| grafana | grafana | cpe:2.3:a:grafana:grafana |
| netapp | e-series performance analyzer | cpe:2.3:a:netapp:e-series_performance_analyzer |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora34
- fedoraproject fedora35
- fedoraproject fedora36
- grafana grafana8.0.0 and later · before 8.3.5
- grafana grafana3.0.1 and later · before 7.5.15
- grafana grafana3.0.0
- netapp e-series performance analyzerbefore 3.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
grafana grafana
- >= 3.0-beta1, < 7.5.15, >= 8.0.0, < 8.3.5affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | grafana | before 7.5.15-3.el8 | 7.5.15-3.el8 |
| AlmaLinux:9 | grafana | before 7.5.15-3.el9 | 7.5.15-3.el9 |
| Go | github.com/grafana/grafana/pkg/web | from 3.0-beta1 · before 7.5.15 | 7.5.15 |
| Go | github.com/grafana/grafana/pkg/web | from 8.0.0 · before 8.3.5 | 8.3.5 |
| openSUSE:Leap 15.3 | grafana | before 8.3.5-150200.3.21.1 | 8.3.5-150200.3.21.1 |
| openSUSE:Leap 15.3 | grafana | before 8.3.10-150200.3.26.1 | 8.3.10-150200.3.26.1 |
| openSUSE:Leap 15.3 | prometheus-postgres_exporter | before 0.10.0-150000.1.3.1 | 0.10.0-150000.1.3.1 |
| openSUSE:Leap 15.3 | rhnlib | before 4.2.6-150000.3.34.1 | 4.2.6-150000.3.34.1 |
| openSUSE:Leap 15.3 | spacecmd | before 4.2.16-150000.3.77.1 | 4.2.16-150000.3.77.1 |
| openSUSE:Tumbleweed | grafana | before 8.3.5-1.1 | 8.3.5-1.1 |
| Red Hat:enterprise_linux:8::appstream | grafana | before 0:7.5.15-3.el8 | 0:7.5.15-3.el8 |
| Red Hat:enterprise_linux:8::appstream | grafana-debuginfo | before 0:7.5.15-3.el8 | 0:7.5.15-3.el8 |
| Red Hat:enterprise_linux:9::appstream | grafana | before 0:7.5.15-3.el9 | 0:7.5.15-3.el9 |
| Red Hat:enterprise_linux:9::appstream | grafana-debuginfo | before 0:7.5.15-3.el9 | 0:7.5.15-3.el9 |
| Rocky Linux:8 | grafana | before 0:7.5.15-3.el8 | 0:7.5.15-3.el8 |
| Rocky Linux:9 | grafana | before 0:7.5.15-3.el9 | 0:7.5.15-3.el9 |
| SUSE:Enterprise Storage 6 | grafana | before 8.5.13-150100.3.12.1 | 8.5.13-150100.3.12.1 |
| SUSE:HPE Helion OpenStack 8 | golang-github-prometheus-node_exporter | before 1.3.0-1.15.3 | 1.3.0-1.15.3 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP4 | grafana | before 8.3.10-150200.3.26.1 | 8.3.10-150200.3.26.1 |
| SUSE:Manager Client Tools 12 | golang-github-prometheus-alertmanager | before 0.23.0-1.12.3 | 0.23.0-1.12.3 |
| SUSE:Manager Client Tools 12 | golang-github-QubitProducts-exporter_exporter | before 0.4.0-1.6.1 | 0.4.0-1.6.1 |
| SUSE:Manager Client Tools 12 | grafana | before 8.3.5-1.30.3 | 8.3.5-1.30.3 |
| SUSE:Manager Client Tools 12 | mgr-cfg | before 4.3.6-1.27.4 | 4.3.6-1.27.4 |
| SUSE:Manager Client Tools 12 | mgr-custom-info | before 4.3.3-1.18.1 | 4.3.3-1.18.1 |
+49
Same product
grafana: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-39226Snapshot authentication bypass in grafanaKEV89Now
- CVE-2021-43798Grafana path traversalKEV87Now
- CVE-2024-9264Grafana SQL Expressions allow for remote code execution66This week
Published before and after this one in the same product
- ← EarlierCVE-2022-21673Jan 18, 2022 · OAuth Identity Token exposure in Grafana18Monitor
- ← EarlierCVE-2022-21702Feb 8, 2022 · Cross site scripting in Grafana proxy22Monitor
- Later →CVE-2022-21713Feb 8, 2022 · Exposure of Sensitive Information in Grafana17Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:grafana | 7.5.15-3.el8 · AlmaLinux:8 | Package registry (OSV) |
| Go:github.com/grafana/grafana/pkg/web | 7.5.15 | Package registry (OSV) |
| Go:github.com/grafana/grafana/pkg/web | 8.3.5 | Package registry (OSV) |
| opensuse:grafana | 8.3.5-150200.3.21.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:prometheus-postgres_exporter | 0.10.0-150000.1.3.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:rhnlib | 4.2.6-150000.3.34.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:spacecmd | 4.2.16-150000.3.77.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:grafana | 0:7.5.15-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:grafana-debuginfo | 0:7.5.15-3.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:grafana | 0:7.5.15-3.el8 · Rocky Linux:8 | Package registry (OSV) |
| suse:grafana | 8.3.5-150000.1.30.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:mgr-cfg | 4.2.8-150000.1.24.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:mgr-osad | 4.2.8-150000.1.36.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:mgr-push | 4.2.5-150000.1.18.2 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:mgr-virtualization | 4.2.4-150000.1.26.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:prometheus-postgres_exporter | 0.10.0-150000.1.3.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:rhnlib | 4.2.6-150000.3.34.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:spacecmd | 4.2.16-150000.3.77.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:spacewalk-client-tools | 4.2.18-150000.3.59.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:spacewalk-koan | 4.2.6-150000.3.27.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:spacewalk-oscap | 4.2.4-150000.3.18.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
| suse:suseRegisterInfo | 4.2.6-150000.3.21.1 · SUSE:Manager Client Tools 15 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
- Grafana Labs - Vulnerability Disclosure Program (VDP)Intigriti · disclosure only (VDP) · grafana/grafana
- Grafana Labs - Vulnerability Disclosure Program (VDP)Intigriti · disclosure only (VDP)
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0126 · Feb 9, 2022(Grafana Güvenlik Zafiyeti)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-352 · Cross-Site Request Forgery (CSRF)CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Root cause
State-changing requests rely on the session cookie the browser sends automatically; nothing verifies that the request came from the user’s own page.
The bug in code
The whole CWE-352 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
app.use(session({ cookie: { httpOnly: true } }));
app.post("/account/address", updateAddress);Fixed
app.use(session({ cookie: { httpOnly: true, sameSite: "lax" } }));
app.post("/account/address", csrfProtection, updateAddress);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- github.com/grafana/grafana/security/advisories/GHSA-cmf4-h3xc-jw8w
- grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
- security.netapp.com/advisory/ntap-20220303-0005/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.