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).
Published: 2026-06-22
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Fri, 10 Jul 2026 15:45:00 +0000

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

Wed, 24 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Grafana
Grafana grafana
Vendors & Products Grafana
Grafana grafana

Mon, 22 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 22 Jun 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Mon, 22 Jun 2026 13:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GRAFANA

Published:

Updated: 2026-07-29T13:59:57.387Z

Reserved: 2026-05-19T15:28:45.662Z

Link: CVE-2026-9029

cve-icon Vulnrichment

Updated: 2026-06-22T15:43:36.121Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T01:45:06Z

Weaknesses
  • CWE-79

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