CVE-2026-9029

Stored XSS in the Geomap panel tile-layer attribution

Published Jun 22, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
A user with Editor permissions can place a malicious script in the attribution field of a Geomap panel's XYZ tile layer via a template variable. The script then executes in the browser of any user who views the affected dashboard (stored cross-site scripting).

Analysis

AI-generated

Technical impact

The vulnerability is a stored cross‑site scripting flaw in Grafana OSS’s Geomap panel. An Editor can insert a malicious script into the attribution field of an XYZ tile layer via a template variable. Once stored, the script executes automatically in the browsers of every viewer of the affected dashboard, enabling attackers to hijack user sessions, steal credentials, or perform other malicious actions.

Affected Systems

Grafana OSS dashboards that use the Geomap panel are potentially affected. The advisory does not specify exact release numbers, so any Grafana OSS deployment that includes a Geomap panel and has not yet applied a vendor‑issued fix could be vulnerable.

Risk and Exploitability

The CVSS score of 7.3 indicates high severity, while the EPSS score of < 1% shows that exploitation is unlikely to be widespread, yet the flaw remains actionable because an attacker only needs Editor-level access to inject a payload. Once the malicious script is stored, it runs automatically for every subsequent dashboard viewer, creating a persistent risk across all users of the dashboard. The vulnerability is not listed in CISA’s KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Review the Grafana OSS release notes linked in the advisory and upgrade to a version that includes the patch when it becomes available.
  • Temporarily remove or disable the Geomap panel from all affected dashboards to eliminate the attack vector until a fix is applied.
  • Restrict Editor privileges or enforce a policy that disallows setting default values for template variables to prevent injection of malicious payloads.

Generated by OpenCVE AI on August 2, 2026 at 01:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9g84-39mm-q4p3 Grafana geomap panel's XYZ tile layer has a sanitize-then-interpolate ordering bug
History
Type Values Removed Values Added
Description The geomap panel's XYZ tile layer has a sanitize-then-interpolate ordering bug. sanitizeTextPanelContent() runs on the raw template string before getTemplateSrv().replace() substitutes the variable value, which uses the glob format with no HTML escaping. The result is passed to OpenLayers via element.innerHTML. An Editor can set a textbox variable's default value to an XSS payload that executes for every user who opens the dashboard. This is a bypass of the CVE-2023-0507 fix A user with Editor permissions can place a malicious script in the attribution field of a Geomap panel's XYZ tile layer via a template variable. The script then executes in the browser of any user who views the affected dashboard (stored cross-site scripting).
Title Stored XSS via Geomap Panel Template Variable Attribution Injection Stored XSS in the Geomap panel tile-layer attribution
Type Values Removed Values Added
First Time appeared Grafana
Grafana grafana
Vendors & Products Grafana
Grafana grafana
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
Description The geomap panel's XYZ tile layer has a sanitize-then-interpolate ordering bug. sanitizeTextPanelContent() runs on the raw template string before getTemplateSrv().replace() substitutes the variable value, which uses the glob format with no HTML escaping. The result is passed to OpenLayers via element.innerHTML. An Editor can set a textbox variable's default value to an XSS payload that executes for every user who opens the dashboard. This is a bypass of the CVE-2023-0507 fix
Title Stored XSS via Geomap Panel Template Variable Attribution Injection
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GRAFANA
Published
Updated
Aug 27, 2026, 5:22 PM
Reserved
May 19, 2026, 3:28 PM
Status
Modified
Published
Jun 22, 2026, 2:17 PM
Modified
Oct 25, 2026, 11:10 PM