CVE-2023-1410 Stored XSS in Graphite FunctionDescription tooltip
Attackers with Graphite data source control can inject scripts via function descriptions, leading to XSS when users hover over tooltips.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-1410?
CVE-2023-1410 is a medium-severity cross-site scripting vulnerability in Grafana Grafana, published on 23 Mar 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
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.
Weakness: CWE-79
Which versions are affected by CVE-2023-1410?
9 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana Go | From 8.0.0 | 8.5.22 |
github.com/grafana/grafana Go | From 8.0.0 | 8.5.22 |
github.com/grafana/grafana Go | From 9.0.0 | 9.2.15 |
github.com/grafana/grafana Go | From 9.0.0 | 9.2.15 |
github.com/grafana/grafana Go | From 9.3.0 | 9.3.11 |
github.com/grafana/grafana Go | From 9.3.0 | 9.3.11 |
3 more packages
github.com/grafana/grafana Go | From 9.4.0 | 9.4.7 |
github.com/grafana/grafana Go | From 9.4.0 | 9.4.7 |
grafana Bitnami | From 8.0.0 | 8.5.22, 9.2.15, 9.3.11 |
Linux distribution packages (1)
grafana openSUSE:Tumbleweed | All versions | 9.4.7-1.1 |
Products include Grafana Grafana.
How do I fix CVE-2023-1410?
Upgrade github.com/grafana/grafana to a fixed version for your release line: 8.5.22, 9.2.15, 9.3.11 or 9.4.7.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-1410 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1410 exists.
Other vulnerabilities in Grafana Grafana
Sources
Also known as BIT-grafana-2023-1410, GHSA-qrrg-gw7w-vp76, UBUNTU-CVE-2023-1410, openSUSE-SU-2024:12855-1.