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.
CVSS Details
- CVSS 3.1 Base Score: 6.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade grafana | Nov 14, 2022 | Feb 8, 2022 |
| Alpine Linux | — | Upgrade grafana | Aug 22, 2024 | Feb 8, 2022 |
| Centos_linux | — | Upgrade grafanaUpgrade grafana-debuginfo | Nov 9, 2022 | Feb 8, 2022 |
| Freebsd | — | Upgrade grafana6Upgrade grafana7Upgrade grafana8 | Nov 4, 2022 | Feb 12, 2022 |
| Oracle_linux | — | Upgrade grafana | Nov 16, 2022 | Feb 8, 2022 |
| Redhat_linux | — | Upgrade grafanaUpgrade grafana-debuginfo | Nov 9, 2022 | Feb 8, 2022 |
| Rocky_linux | — | Upgrade grafanaUpgrade grafana-debuginfo | Mar 12, 2024 | Feb 8, 2022 |
| Suse | — | Upgrade golang-github-prometheus-node_exporterUpgrade spacecmdUpgrade python3-rhnlibUpgrade grafanaUpgrade prometheus-postgres_exporter | Oct 26, 2022 | Feb 8, 2022 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub