Cross-site Scripting Affecting github.com/grafana/grafana package, versions <7.1.0-beta1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGRAFANAGRAFANA-6226640
  • published2 Feb 2024
  • disclosed24 May 2022
  • creditUnknown

Introduced: 24 May 2022

CVE-2020-24303  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade github.com/grafana/grafana to version 7.1.0-beta1 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Scripting via a query alias for the ElasticSearch datasource. An attacker can inject and execute malicious scripts by crafting a malicious query alias.

CVSS Scores

version 3.1