CWE
79
Advisory Published
CVE Published
CVE Published
Advisory Published
Updated

CVE-2022-21702: Cross site scripting in Grafana proxy

First published: Fri Feb 04 2022(Updated: )

A Cross-site scripting (XSS) vulnerability was found in the way Grafana handles data sources. This flaw allows an attacker to serve HTML content through the Grafana data source or plugin proxy and trick a user to visit this HTML page using a specially crafted link and execute a Cross-site scripting (XSS) attack. Should an existing data source connected to Grafana be compromised, it could be used to inappropriately gain access to other data sources connected to the same Grafana org.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
redhat/grafana<0:7.5.15-3.el8
0:7.5.15-3.el8
redhat/grafana<0:7.5.15-3.el9
0:7.5.15-3.el9
Grafana Grafana>=2.0.1<7.5.15
Grafana Grafana>=8.0.0<8.3.5
Grafana Grafana=2.0.0-beta1
Grafana Grafana=2.0.0-beta3
Netapp E-series Performance Analyzer<3.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
redhat/grafana<7.5.15
7.5.15
redhat/grafana<8.3.5
8.3.5
go/github.com/grafana/grafana>=8.0.0<=8.3.4
8.3.5
go/github.com/grafana/grafana>=2.0.0-beta1<7.5.15
7.5.15

Remedy

Please refer to the Grafana upstream advisory for possible workarounds for this issue.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2022-21702?

    CVE-2022-21702 is a Cross-site scripting (XSS) vulnerability found in the way Grafana handles data sources.

  • How does the CVE-2022-21702 vulnerability in Grafana work?

    In affected versions, an attacker could serve HTML content through the Grafana datasource or plugin proxy and trick a user to visit this HTML page using a specially crafted link, leading to a Cross-site Scripting (XSS) attack.

  • What software versions are affected by CVE-2022-21702?

    The affected software versions are Grafana 7.5.15-3.el8, Grafana 7.5.15-3.el9, Grafana 7.5.15, and Grafana 8.3.5.

  • What is the severity of CVE-2022-21702?

    The severity of CVE-2022-21702 is medium with a CVSS score of 6.8.

  • How can I fix the CVE-2022-21702 vulnerability in Grafana?

    To fix the CVE-2022-21702 vulnerability, upgrade Grafana to versions 7.5.15 or 8.3.5.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203