Skip to main content

CVE-2025-4123 — Vulnerability in github.com/grafana/grafana

Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin in github.com/grafana/grafana

Published May 27, 2025Updated June 19, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (8.56%). Schedule for your next planned update.

Does your project use an affected github.com/grafana/grafana version?

Paste your go.sum to check it for CVE-2025-4123 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin in github.com/grafana/grafana.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/grafana/grafana before v0.0.0-20250521183405-c7a690348df7.

Advisory Timeline

  • First published May 27, 2025 (548 days ago).
  • Last revised June 19, 2026 — 388 days after initial publication.

Affected Packages (1)

Affects 1 ecosystem: Go (1).

PackageFixed In
github.com/grafana/grafana Go · Affected: All versionsRange-based data available

Frequently Asked Questions

What is CVE-2025-4123?
Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin in github.com/grafana/grafana. This vulnerability has been assigned a severity rating of Unknown.
How do I check if my project is affected by CVE-2025-4123?
CVE-2025-4123 affects github.com/grafana/grafana. It has a 8.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-4123 and 200,000+ other known vulnerabilities.

Severity & Exploitability

EPSS Score (30-day exploit probability)
8.56%
EPSS percentile: 95.8

This places it in the top 5% of EPSS-scored vulnerabilities — 95.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GO-2025-3704
BIT-grafana-2025-4123
GHSA-q53q-gxq9-mgrj

Related CVEs

  • CVE-2020-12245

    Grafana XSS in header column rename in github.com/grafana/grafana

  • CVE-2020-12459

    Grafana world readable configuration files in github.com/grafana/grafana

  • CVE-2020-24303

    Grafana XSS via a query alias for the ElasticSearch datasource in github.com/grafana/grafana

  • CVE-2020-11110

    Grafana stored XSS in github.com/grafana/grafana

  • CVE-2024-1442

    Grafana's users with permissions to create a data source can CRUD all data sources in github.com/grafana/grafana

  • CVE-2019-19499

    Arbitrary file read in github.com/grafana/grafana

  • CVE-2026-33381

    Grafana: Users can generate Service Account tokens after permissions removal in github.com/grafana/grafana

  • CVE-2026-21727

    Grafana legacy correlations allow cross-tenant disclosure and deletion in github.com/grafana/grafana

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum