LiveActive security incident?Get immediate response
CVE Record

CVE-2022-23552: Grafana stored XSS in FileUploader component

Grafana 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.

HighCVSS 7.3Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A trusted Grafana editor could plant a malicious SVG in a GeoMap panel. If an admin later views the dashboard, script runs as that admin and can compromise admin-level actions, including the password-change scenario described by Grafana. This is serious for shared Grafana instances with broad editor access.

Executive priority

Treat as high priority where Grafana is shared across teams or administrators routinely view user-edited dashboards. The required Editor access limits broad external exploitation, but the potential impact includes admin-context actions and credential compromise.

Technical view

CVE-2022-23552 is stored XSS in Grafana's core GeoMap FileUploader. SVG content was not properly sanitized, allowing JavaScript execution in the viewer's authenticated context. Exploitation requires Editor privileges and user interaction from a dashboard viewer. Fixed releases are 8.5.16, 9.2.10, and 9.3.4.

Likely exposure

Exposure applies to Grafana versions >=8.1 and <8.5.16, >=9.0 and <9.2.10, and >=9.3 and <9.3.4. Risk is most relevant where non-admin users have Editor roles and administrators view shared dashboards.

Exploitation context

The supplied sources do not show known active exploitation, and this CVE is not marked KEV. The attack path requires an authenticated Editor to alter a panel and a higher-privileged user to view the affected dashboard.

Researcher notes

The issue maps to CWE-79 with CVSS 3.1 score 7.3, vector AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N. Evidence supports stored XSS and vertical privilege escalation risk, but not unauthenticated exploitation or active exploitation.

Mitigation direction

  • Upgrade Grafana to 8.5.16, 9.2.10, 9.3.4, or later supported versions.
  • Review Grafana Editor role assignments and reduce unnecessary dashboard modification privileges.
  • Check Grafana and downstream vendor advisories for environment-specific remediation guidance.
  • Prioritize shared or internet-accessible Grafana instances with multiple user roles.

Validation and detection

  • Inventory Grafana versions across production, staging, and managed appliances.
  • Confirm no instance runs the affected version ranges listed in the advisory.
  • Review dashboards using GeoMap panels for recent unexpected edits by Editor accounts.
  • Check audit or access logs for suspicious dashboard changes before upgrade.
Prepared
Confidence
high
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-23552 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
7Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.3CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N2.15.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.3High
CVSS 3.1 vector shape for CVE-2022-23552Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
grafanagrafana>= 9.0, < 9.2.10, >= 9.3, < 9.3.4, >= 8.1, < 8.5.16Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.