Cross site scripting in Grafana proxy
Noroxi assessment
Priority: Monitor (action score 22/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.3% (FIRST EPSS); higher than 83.3% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. 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 (Go) 7.5.15, 8.3.5.
- 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 (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. In affected versions an attacker could serve HTML content thru the Grafana datasource or plugin proxy and trick a user to visit this HTML page using a specially crafted link and execute a Cross-site Scripting (XSS) attack. The attacker could either compromise an existing datasource for a specific Grafana instance or either set up its own public service and instruct anyone to set it up in their Grafana instance. To be impacted, all of the following must be applicable. For the data source proxy: A Grafana HTTP-based datasource configured with Server as Access Mode and a URL set, the attacker has to be in control of the HTTP server serving the URL of above datasource, and a specially crafted link pointing at the attacker controlled data source must be clicked on by an authenticated user. For the plugin proxy: A Grafana HTTP-based app plugin configured and enabled with a URL set, the attacker has to be in control of the HTTP server serving the URL of above app, and a specially crafted link pointing at the attacker controlled plugin must be clocked on by an authenticated user. For the backend plugin resource: An attacker must be able to navigate an authenticated user to a compromised plugin through a crafted link. Users are advised to update to a patched version. There are no known workarounds for this vulnerability.
- Published
- Feb 8, 2022
- Updated
- Jun 17, 2026
- EPSS
- 2.3% · 83th percentile
- CWE
- CWE-79
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.3%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.4
- CNA · GitHub_M
- 6.5
- 1.1 point gap
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/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 |
Limit the impact of XSS
This is a cross-site scripting (XSS) vulnerability. A well-configured Content-Security-Policy doesn't fix it, but greatly reduces its impact. Check your site's CSP and other security headers for free.
Check security headersAffected 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 grafana2.0.1 and later · before 7.5.15
- grafana grafana2.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
- >= 2.0.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 | from 2.0.0-beta1 · before 7.5.15 | 7.5.15 |
| Go | github.com/grafana/grafana | 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: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: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 |
| SUSE:Manager Client Tools 12 | mgr-daemon | before 4.3.4-1.32.3 | 4.3.4-1.32.3 |
| SUSE:Manager Client Tools 12 | mgr-osad | before 4.3.6-1.39.4 | 4.3.6-1.39.4 |
| SUSE:Manager Client Tools 12 | mgr-push | before 4.3.4-1.21.4 | 4.3.4-1.21.4 |
+58
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-2021-43815Dec 10, 2021 · Grafana directory traversal for `.cvs` files18Monitor
- ← EarlierCVE-2022-21673Jan 18, 2022 · OAuth Identity Token exposure in Grafana18Monitor
- Later →CVE-2022-21703Feb 8, 2022 · Cross Site Request Forgery in Grafana36Monitor
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 | 7.5.15 | Package registry (OSV) |
| Go:github.com/grafana/grafana | 8.3.5 | Package registry (OSV) |
| opensuse:grafana | 8.3.5-150200.3.21.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.
- A low-privileged account is enough.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- none
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
nvd-primary
Root cause
User content is inserted into the page as HTML. The browser interprets the content as code rather than data.
The bug in code
The whole CWE-79 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
commentEl.innerHTML = comment.body;Fixed
commentEl.textContent = comment.body;Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- 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.