Vulnerability · Published Mar 23, 2023 · Assigned by GRAFANA
CVE-2023-1410Stored XSS in Graphite FunctionDescription tooltip
Medium 6.2
In plain English
A medium-severity cross-site scripting in Grafana from Grafana. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/grafana/grafana | 8.5.22 | GHSA-qrrg-gw7w-vp76 |
| Go | github.com/grafana/grafana | 9.3.11 | GHSA-qrrg-gw7w-vp76 |
| Go | github.com/grafana/grafana | 9.4.7 | GHSA-qrrg-gw7w-vp76 |
| Go | github.com/grafana/grafana | 9.2.15 | GHSA-qrrg-gw7w-vp76 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Grafana | Grafana | 8.0.0 – before 8.5.229.0.0 – before 9.2.159.3.0 – before 9.3.11 |
| Grafana | Grafana Enterprise | 8.0.0 – before 8.5.229.0.0 – before 9.2.159.3.0 – before 9.3.11 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:N