Skip to content
Open redirect Write-up Beginner

Grafana CVE-2025–4123 | Open Redirect - XSS - SSRF

A path traversal flaw in Grafana's public endpoint allows an attacker to craft a URL that redirects users to a malicious site. When the Grafana Image Renderer plugin is installed and authenticated, the same flaw can be abused for cross-site scripting and full-read server-side request forgery.

osintteam.blog

Published on osintteam.blog

Hi readers, this write-up is a hands-on practical guide to hackingGrafana CVE-2025–4123which leads to Open Redirect, XSS and SSRF, I have provided how to find Grafana Instances, Payload, POCs and the Original Resource of the Author of the CVE. Hope you enjoy and Hack Responsibly.

RivuDon, on osintteam.blog

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the public endpoint fails to properly normalise and validate the requested path, allowing encoded traversal sequences to redirect to an external domain.

Impact

An attacker could redirect users to a malicious site, and if the Grafana Image Renderer plugin is installed and authenticated, could achieve XSS and full-read SSRF.

What the attacker needed

Victim clicks a crafted link; Grafana Image Renderer plugin for XSS/SSRF; authentication for XSS/SSRF

How it was found

  1. Find a Grafana instance using Shodan, FOFA, or Google dorks.
  2. Craft a URL with the traversal payload appended to the public path.
  3. Visit the crafted URL and wait for it to load.
  4. Observe the browser being redirected to the attacker-controlled site.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Grafana is a tool for making dashboards. A path traversal bug lets someone use '..' in a web address to escape the intended folder. Here it makes Grafana send visitors to an attacker's website, and if a special image plugin is installed, it can also run harmful scripts or fetch internal data.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.