CVE-2025-4123Grafana
Medium 6.1 No auth needed
Follow: this CVE · Grafana · Grafana We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- May 22, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Grafana.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/grafana/grafana |
< 0.0.0-20250521183405-c7a690348df7 |
0.0.0-20250521183405-c7a690348df7 |
go get github.com/grafana/grafana@v0.0.0-20250521183405-c7a690348df7 |
| Go | github.com/grafana/grafana |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-q53q-gxq9-mgrj, GO-2025-3704). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| grafana | grafana | < 10.4.18 |
| grafana | grafana | ≥ 11.2.0 < 11.2.9 |
| grafana | grafana | ≥ 11.3.0 < 11.3.6 |
| grafana | grafana | ≥ 11.4.0 < 11.4.4 |
| grafana | grafana | ≥ 11.5.0 < 11.5.4 |
| grafana | grafana | ≥ 11.6.0 < 11.6.1 |
| grafana | grafana | 10.4.18 |
| grafana | grafana | 11.2.9 |
| grafana | grafana | 11.3.6 |
| grafana | grafana | 11.4.4 |
| grafana | grafana | 11.5.4 |
| grafana | grafana | 11.6.1 |
| grafana | grafana | 12.0.0 |
On social media
1 person and 1 post on Bluesky in the last 30 days.
Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky
Official sources
References
Links published by the sources. Open them with care.
- grafana.com Vendor Advisory
- grafana.com Vendor Advisory
- www.exploit-db.com