BIT-grafana-2023-0594
Record from OSV · Published March 6, 2024
Grafana is an open-source platform for monitoring and observability. Starting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view visualization. The stored XSS vulnerability was possible due the value of a span's attributes/resources were not properly sanitized and this will be rendered when the span's attributes/resources are expanded. An attacker needs to have the Editor role in order to change the value of a trace view visualization to contain JavaScript. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. Users may upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| grafana | Bitnami | 9.3.8, 9.2.13, 8.5.21 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Bitnami | grafana | 7.0.0, 9.2.0, 9.3.0 |
Timeline
- Mar 6, 2024 CVE Published
- Apr 3, 2025 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln BIT-grafana-2023-0594
vulnetix vdb fixes BIT-grafana-2023-0594
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/BIT-grafana-2023-0594/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart