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.
| 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 grafana8Upgrade grafana7Upgrade grafana6 | Nov 4, 2022 | Feb 12, 2022 |
| Oracle_linux | — | Upgrade grafana | Nov 16, 2022 | Feb 8, 2022 |
| Redhat_linux | — | Upgrade grafana-debuginfoUpgrade grafana | Nov 9, 2022 | Feb 8, 2022 |
| Rocky_linux | — | Upgrade grafana-debuginfoUpgrade grafana | Mar 12, 2024 | Feb 8, 2022 |
| Suse | — | Upgrade golang-github-prometheus-node_exporterUpgrade spacecmdUpgrade python3-rhnlibUpgrade prometheus-postgres_exporterUpgrade grafana | Oct 26, 2022 | Feb 8, 2022 |
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