VDB

CVE-2025-4123

CVE-2025-4123 PUBLISHED CVSS 7.6 HIGH

Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin

Reported by grafana · Published May 22, 2025

github.com/grafana/grafana is fixed in 0.0.0-20250521183405-c7a690348df7 (Go Modules)

A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirect. This allows attackers to redirect users to a website that hosts a frontend plugin that will execute arbitrary JavaScript. This vulnerability does not require editor permissions and if anonymous access is enabled, the XSS will work. If the Grafana Image Renderer plugin is installed, it is possible to exploit the open redirect to achieve a full read SSRF. The default Content-Security-Policy (CSP) in Grafana will block the XSS though the `connect-src` directive.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/grafana/grafanaGo Modules0.0.0-20250521183405-c7a690348df7
grafana-fips-12.1Chainguard12.1.10.01-r3
grafana-fips-13.1Chainguard13.1.0-r0
grafanaBitnami12.0.0, 11.6.1, 10.4.18
grafana-fips-12.0Chainguard12.0.10-r6
grafanagrafana12.0.1, 11.6.2, 11.6.1, 11.5.5, 11.5.4, 11.4.5, 11.4.4, 11.3.7, 11.3.6, 11.2.10, 11.2.9, 10.4.19, 10.4.18
grafanaBitnami12.0.0, 11.6.1, 10.4.18

Risk scores

CVSS 3.1
7.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Affected products

VendorProductVersions
GrafanaGrafana10.4.18+security-01, 11.2.9+security-01, 11.3.6+security-01
chainguardgrafana-fips-12.4*
chainguardgrafana-fips-12.3*
chainguardgrafana-fips-12.10
chainguardgrafana-fips-13.0*
chainguardgrafana-fips-13.10
github.comgrafana/grafana0
chainguardgrafana-fips-11.6*
chainguardgrafana-fips-12.00
GrafanaGrafana12.0.0+security-01, 10.4.18+security-01, 11.2.9+security-01
chainguardgrafana-fips-12.2*

Timeline

  • May 22, 2025 EPSS Score (30 in total, the first dated here)
  • May 22, 2025 CVE Published
  • May 23, 2025 VulnCheck XDB Entry (10 in total, the first dated here)
  • Jun 19, 2025 Coalition ESS Score (16 in total, the first dated here)
  • Jul 21, 2025 VulnCheck KEV Exploitation (154 in total, the first dated here)
  • Jul 31, 2025 PoC Published (3 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (13 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (10 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-4123
vulnetix vdb fixes CVE-2025-4123

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-4123/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›