QID 730253

Date Published: 2021-11-16

QID 730253: Grafana Enterprise Cross-Site Scripting (XSS) Vulnerability

Grafana is an open-source, general purpose dashboard and graph composer, which runs as a web application.

Affected By Below Vulnerabilies:
CVE-2021-41174: 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.

Affected Versions:
Grafana Version 8.0.0-beta1 to 8.2.2

QID Detection Logic (Unauthenticated):
This QID checks for vulnerable version of Grafana Enterprise from the server response

Successful exploitation could allows an unauthenticated remote attacker to trigger a Cross-Site Scripting attack.

  • CVSS V3 rated as High - 6.1 severity.
  • CVSS V2 rated as Medium - 4.3 severity.
  • Solution
    Customers are advised to download Grafana Enterprise 8.2.3 to fix this vulnerability.
    Workaround:

    If for some reason you cannot upgrade, you can use a reverse proxy or similar to block access to block the literal string {{ in the path.
    Example of an Nginx rule to block the literal string {{:

    location ~ \{\{ {
    deny all;
    }
    Vendor References

    CVEs related to QID 730253

    Software Advisories
    Advisory ID Software Component Link
    Grafana Release Note 8.2.3 URL Logo github.com/grafana/grafana/security/advisories/GHSA-3j9m-hcv9-rpj8
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report