XSS in Grafana
CVE-2022-39324
Grafana is an open-source platform for monitoring and observability. Prior to versions 8.5.16 and 9.2.8, malicious user can create a snapshot and arbitrarily choose the `originalUrl` parameter by editing the query, thanks to a web proxy. When another user opens the URL of the snapshot, they will be presented with the regular web interface delivered by the trusted Grafana server. The `Open original dashboard` button no longer points to the to the real original dashboard but to the attacker’s injected URL. This issue is fixed in versions 8.5.16 and 9.2.8.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L.
EPSS exploit prediction
EPSS: 0.008 (55.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 56th percentile — 55.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- Grafana — versions < 8.5.16, >= 9.0.0, < 9.2.8
Weakness classification (CWE)
References
- github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpw (Third Party Advisory)
- github.com/grafana/grafana/pull/60232 (Patch, Third Party Advisory)
- github.com/grafana/grafana/pull/60256 (Patch, Third Party Advisory)
- github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74a (Patch, Third Party Advisory)
- github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985c (Patch, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2022-39324?
- CVE-2022-39324 is a medium-severity vulnerability in Grafana, classified under Cross-site Scripting. CVSS score: 6.7/10. Published 2023-01-27.
- How severe is CVE-2022-39324?
- Medium severity. CVSS v3 base score is 6.7 out of 10.