# CVE-2025-4123: GO-2025-3704 - Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin in github.com/grafana/grafana

Source: https://junglewise.ai/threats/cve-2025-4123-grafana-cross-site-scripting-xss-via-custom-loaded-frontend-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-05-27  
License: CC BY 4.0 with a link back

CVE-2025-4123 · Severity: low · CVSS 3.1 · Published 2025-05-27

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

Technologies: [github.com/grafana/grafana (Go)](https://junglewise.ai/threats/technologies/github-com-grafana-grafana). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2025-4123 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-4123 being exploited in the wild.

**How severe is CVE-2025-4123?** Low severity, with a CVSS score of 3.1, published 27 May 2025.

**Which products and versions are affected?** github.com/grafana/grafana (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=0.0.0-20250521183405-c7a690348df7.

**Is there a fix for CVE-2025-4123?** Yes. github.com/grafana/grafana (Go): upgrade to 0.0.0-20250521183405-c7a690348df7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-4123?** Check whether you run github.com/grafana/grafana (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/grafana/grafana (Go): upgrade to 0.0.0-20250521183405-c7a690348df7 or later

  ```sh
  go get github.com/grafana/grafana@v0.0.0-20250521183405-c7a690348df7
  ```


## Affected products

- github.com/grafana/grafana (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=0.0.0-20250521183405-c7a690348df7

## Identifiers

- CVE-2025-4123
- GHSA-q53q-gxq9-mgrj
- GO-2025-3704

## Related threats

- [Grafana denial of service in public dashboard query endpoint](https://junglewise.ai/threats/cve-2026-42127-grafana-denial-of-service-in-public-dashboard-query-endpoint)
- [Grafana OSS stored XSS in geomap panel XYZ tile layer](https://junglewise.ai/threats/cve-2026-9029-grafana-oss-stored-xss-in-geomap-panel-xyz-tile-layer)
- [Grafana Loki datasource plugin path traversal in callResource handler](https://junglewise.ai/threats/cve-2026-42129-grafana-loki-datasource-plugin-path-traversal-in-callresource)
- [Grafana Tempo and Loki plugins path traversal](https://junglewise.ai/threats/cve-2026-10601-grafana-tempo-and-loki-plugins-path-traversal)
- [Grafana improper access control in service account token minting](https://junglewise.ai/threats/cve-2026-33381-grafana-improper-access-control-in-service-account-token-minting)
