All vulnerabilities

Servers and applications

CVE-2021-41174

XSS vulnerability allowing arbitrary JavaScript execution

Severity
Medium 6.1
Published
3 Nov 2021
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
8.2.3
Also known as
GHSA-3j9m-hcv9-rpj8
Sources
NVD, Project advisories (GitHub)

Description

Grafana is an open-source platform for monitoring and observability. In affected versions if an attacker is able to convince a victim to visit a URL referencing a vulnerable page, arbitrary JavaScript content may be executed within the context of the victim's browser. The user visiting the malicious link must be unauthenticated and the link must be for a page that contains the login button in…

Affected software

SoftwareAffected versions
GrafanaServers and applications · cpe:a:grafana:grafana
  • From 8.0.0 before 8.2.3
GrafanaServers and applications · github:grafana/grafana
  • From 8.0.0-beta1 before 8.2.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-41174
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-41174
  • GitHub Advisory Database https://github.com/advisories/GHSA-3j9m-hcv9-rpj8
  • github.com https://github.com/grafana/grafana/security/advisories/GHSA-3j9m-hcv9-rpj8