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)

EPSS: 0.008 (53.8th percentile) — read the EPSS interpretation.

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.

Affected products

  • Grafana — versions < 8.5.16, >= 9.0.0, < 9.2.8

Weakness classification (CWE)

References

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.