cve.bz

CVE-2025-2703 grafana: Cross-site Scripting

6.8 mediumEPSS 16%

Medium (6.8) in grafana. EPSS 16% estimated probability of exploitation activity in the next 30 days.

On this page
The built-in XY Chart plugin is vulnerable to a DOM XSS vulnerability. A user with Editor permissions is able to modify such a panel in order to make it execute arbitrary JavaScript.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L
EPSS
16% (unchanged from 16% a week ago; 16% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-2703 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-2703?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-2703?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-2703 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Grafanafrom 11.6.0 before 11.6.0+security-01
Grafanafrom 11.5.0 before 11.5.3+security-01
Grafanafrom 11.4.0 before 11.4.3+security-01
Grafanafrom 11.3.0 before 11.3.5+security-01
Grafanafrom 11.2.0 before 11.2.8+security-01
Grafana Enterprisefrom 11.6.0 before 11.6.0+security-01
Grafana Enterprisefrom 11.5.0 before 11.5.3+security-01
Grafana Enterprisefrom 11.4.0 before 11.4.3+security-01
Grafana Enterprisefrom 11.3.0 before 11.3.5+security-01
Grafana Enterprisefrom 11.2.0 before 11.2.8+security-01

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7grafana11.5.5-150200.3.72.2SUSE-SU-2025:01991-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5, Manager Client Tools 12golang-github-prometheus-node_exporter1.9.1-1.36.2SUSE-SU-2025:01987-1
SUSEManager Client Tools 12golang-github-prometheus-alertmanager0.26.0-1.31.2SUSE-SU-2025:01987-1
SUSEManager Client Tools 12golang-github-prometheus-prometheus2.53.4-1.60.2SUSE-SU-2025:01987-1
SUSEManager Client Tools 12grafana11.5.5-1.79.2SUSE-SU-2025:01987-1
SUSEManager Client Tools 12prometheus-blackbox_exporter0.26.0-1.27.1SUSE-SU-2025:01987-1
SUSEManager Client Tools 15golang-github-prometheus-prometheus2.53.4-150000.3.62.2SUSE-SU-2025:01989-1
SUSEManager Client Tools 15grafana11.5.5-150000.1.79.1SUSE-SU-2025:01989-1
SUSEManager Client Tools 15, Manager Client Tools for SLE Micro 5, Manager Proxy Module 4.3prometheus-blackbox_exporter0.26.0-150000.1.27.1SUSE-SU-2025:01989-1
SUSEManager Server 4.3release-notes-susemanager4.3.15.2-150400.3.133.1SUSE-SU-2025:01985-1
openSUSELeap 15.6grafana11.5.5-150200.3.72.2SUSE-SU-2025:01991-1
openSUSELeap 15.6prometheus-blackbox_exporter0.26.0-150000.1.27.1SUSE-SU-2025:01989-1
openSUSETumbleweedgrafana11.5.4-1.1openSUSE-SU-2025:15052-1
Alpinev3.22, v3.23, v3.24grafana11.6.1-r0ALPINE-CVE-2025-2703

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is classified as a Moderate severity due to the ability of authenticated users with Editor permissions to inject arbitrary JavaScript into XY Chart panels. When the panel is rendered, the payload executes in the user's browser context, bypassing existing Content Security Policy (CSP) protections. This allows for potential session hijacking or data exfiltration. While the exploit requires some user privileges and interaction, the security boundary between trusted editors and secure rendering is violated.

It is important to note that this issue affects Grafana versions 11.1.0 and later, which are not included in any Red Hat supported builds. Therefore, Red Hat customers are not impacted by this vulnerability.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 9grafanaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-2703.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON