Stored XSS in Graphite FunctionDescription tooltip
Grafana · Grafana Enterprise
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/grafana/grafana Go |
|
|
Grafana · Grafana Enterprise
| Product | Affected | Fixed in |
|---|---|---|
| github.com/grafana/grafana Go |
|
|
Grafana is an open-source platform for monitoring and observability.
Grafana had a stored XSS vulnerability in the Graphite FunctionDescription tooltip.
The stored XSS vulnerability was possible due the value of the Function Description was not properly sanitized.
An attacker needs to have control over the Graphite data source in order to manipulate a function description and a Grafana admin needs to configure the data source, later a Grafana user needs to select a tampered function and hover over the description.
Users may upgrade to version 8.5.22, 9.2.15 and 9.3.11 to receive a fix.
From the CVE record · GRAFANA
The Graphite FunctionDescription tooltip does not properly sanitize function descriptions, allowing stored cross-site scripting. An attacker must control the Graphite data source and manipulate a function description; a Grafana admin must configure that source, and a user must select the tampered function and hover over its description.
Teams running Grafana or Grafana Enterprise with the Go package github.com/grafana/grafana in versions >=8.0.0 <8.5.22, >=9.0.0 <9.2.15, >=9.3.0 <9.3.11, or >=9.4.0 <9.4.7 should check.