CVE-2025-4123

Scores

EPSS

0.039very_low3.9%
0%20%40%60%80%100%

Percentile: 3.9%

CVSS

6.1medium3.x
0246810

CVSS Score: 6.1/10

All CVSS Scores

CVSS 3.x
6.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Description

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

anchore_overridesdebiannvd

CWEs

CWE-79

Related Vulnerabilities

Exploits

Exploit ID: 52491

Source: exploitdb

URL: https://www.exploit-db.com/exploits/52491

Exploit ID: CVE-2025-4123

Source: github-poc

URL: https://github.com/ItsNee/Grafana-CVE-2025-4123-POC

Vulnerable Software (3)

Type: Configuration

Operating System:

Trait:
{  "children": [    {      "cpe_match": [        {          "cpe23uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:go:*:*",          "versionEndExcluding": "10.4.18+security-01"        },        { ...

Source: anchore_overrides

Type: Configuration

Product: grafana

Operating System: debian

Trait:
{  "unfixed": true}

Source: debian

Type: Configuration

Vendor: *

Product: grafana

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",      "versionEndExcluding": "10.4.18",      "vulnerable": true    },    {      "cpe23uri": "cpe:2.3:a:grafa...

Source: nvd

End of list