CVE-2022-23552

Summary

CVECVE-2022-23552
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-01-27 23:15:00 UTC
Updated2023-11-07 03:44:00 UTC
DescriptionGrafana is an open-source platform for monitoring and observability. Starting with the 8.1 branch and prior to versions 8.5.16, 9.2.10, and 9.3.4, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. The stored XSS vulnerability was possible because SVG files weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance. An attacker needs to have the Editor role in order to change a panel to include either an external URL to a SVG-file containing JavaScript, or use the `data:` scheme to load an inline SVG-file containing 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.16, 9.2.10, or 9.3.4 to receive a fix.

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Grafana Grafana All All All All

References

ReferenceSourceLinkTags
[v9.3.x] SVG: Add dompurify preprocessor step (#62157) · grafana/grafana@1c8a50b · GitHub MISC github.com
[v9.2.x] SVG: Add dompurify preprocessor step (#704) · grafana/grafana@c022534 · GitHub MISC github.com
Stored XSS in ResourcePicker component · Advisory · grafana/grafana · GitHub MISC github.com
SVG: Add dompurify preprocessor step by nmarrs · Pull Request #62143 · grafana/grafana · GitHub MISC github.com
SVG: Add dompurify preprocessor step (#62143) · grafana/grafana@8b574e2 · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 150644 Grafana Stored Cross-Site Scripting (XSS) Vulnerability (CVE-2022-23552)
  • 161102 Oracle Enterprise Linux Security Update for grafana security and enhancement update (ELSA-2023-6420)
  • 242309 Red Hat Update for grafana (RHSA-2023:6420)
  • 691055 Free Berkeley Software Distribution (FreeBSD) Security Update for grafana (ecffb881-a7a7-11ed-8d6a-6c3be5272acd)
  • 753815 SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2023:0812-1)
  • 941404 AlmaLinux Security Update for grafana (ALSA-2023:6420)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report