S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated May 22, 2025

CVE-2025-4123 Scanner

CVE-2025-4123 Scanner - Cross-Site Scripting (XSS) vulnerability in Grafana

Est. Time~1 minutes
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
2.9k
Times Used
continuous scan runs
5.9k
Continuously Checked
assets under CS
16
Vulnerabilities Found
confirmed findings
References
CVECVE-2025-4123
7.6
CVSShigh
Exploitable remotely over the internet · no authentication required · user interaction needed.

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
Grafanaby Grafana
AFFECTED< 10.4.19SAFE ✓≥ 10.4.19
Updated Sep 9, 2026View on NVD →
Detail

Grafana is a widely used open source observability platform, which is particularly popular in IT monitoring and data analysis. Organizations across various sectors deploy Grafana to visualize metrics that help in maintaining infrastructure performance and availability. It's often used by IT administrators and developers for interactive queries, data exploration, and for setting up alerts based on data trends. Grafana supports numerous data sources, making it versatile and integral to many monitoring stacks. The tool is utilized for its effective and customizable dashboard capabilities, making complex data sets easier to digest and analyze. Businesses value its open-source nature and extensive plugin system, which allows for a tailored observability platform.

The identified vulnerability in Grafana involves numerous security concerns, primarily revolving around open redirect, which could be leveraged for Cross-Site Scripting (XSS) or Server-Side Request Forgery (SSRF). XSS could allow attackers to inject malicious scripts into web pages viewed by users, leading to data theft or session hijacking. Similarly, the SSRF component might enable attackers to make requests from the server, potentially leading to unauthorized data access. By exploiting an open redirect, adversaries may trick victims into unwittingly compromising their security posture. This vulnerability emphasizes the importance of rigorous input validation and encoding in web applications. Having an open redirect issue in a widely deployed platform like Grafana can lead to serious security breaches if not properly mitigated.

Technically, the vulnerability operates through path traversal techniques, allowing the attacker to redirect users to unintended locations. Specific endpoints and parameters involved can lead to unintended consequences if exploited, particularly if chained with other vulnerabilities like XSS or SSRF. This chaining dramatically elevates the risk associated owing to the multifaceted nature of possible exploits. Successful exploit scenarios reportedly involve inconsistent URL parsing, leading the server to trust untrusted inputs inadvertently. This trust can be misused to cause redirects or further SSRF attacks by manipulating URL parameters. Attention to URL handling, consistent usage of safe libraries, and regular security reviews are crucial to address such vulnerabilities in Grafana.

If exploited, this Grafana vulnerability allows attackers to carry out malicious activities, potentially leading to data breaches. Users visiting the crafted URLs might unwittingly expose sensitive information or get their sessions hijacked through XSS attacks. Moreover, if chained with SSRF, attackers could leverage internal services, gaining potentially unauthorized access to sensitive resources. The impact is exacerbated in scenarios where Grafana dashboards are publicly accessible or granted excessive network permissions. Consequently, this vulnerability can impact business operations, erode trust with customers, and incur significant damage control costs. By addressing these vulnerabilities proactively, organizations can mitigate the risk of data loss and ensure continued service integrity.

REFERENCES

Solution Advice
  • Update Grafana to the latest version where this vulnerability is patched.
  • Implement strict input validation and output encoding for all user inputs.
  • Employ security headers such as Content Security Policy (CSP) to mitigate XSS risks.
  • Regularly audit and sanitize URLs and query parameters handled by the application.
  • Limit network access to only necessary internal services and leverage firewalls for unauthorized requests.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2025-4123 Scanner - Cross-Site Scripting (XSS) vulnerability in Grafana | S4E