Cross-site Scripting (XSS) Affecting grafana package, versions <9.0.3-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE320-GRAFANA-7011752
- published 23 May 2024
- disclosed 15 Jul 2022
Introduced: 15 Jul 2022
CVE-2022-31097 Open this link in a new tabHow to fix?
Upgrade Alpine:3.20
grafana
to version 9.0.3-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream grafana
package and not the grafana
package as distributed by Alpine
.
See How to fix?
for Alpine:3.20
relevant fixed versions and status.
Grafana is an open-source platform for monitoring and observability. Versions on the 8.x and 9.x branch prior to 9.0.3, 8.5.9, 8.4.10, and 8.3.10 are vulnerable to stored cross-site scripting via the Unified Alerting feature of Grafana. An attacker can exploit this vulnerability to escalate privilege from editor to admin by tricking an authenticated admin to click on a link. Versions 9.0.3, 8.5.9, 8.4.10, and 8.3.10 contain a patch. As a workaround, it is possible to disable alerting or use legacy alerting.
References
- https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/
- https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/
- https://security.netapp.com/advisory/ntap-20220901-0010/