ADVISORIES

Vulnerability

CVE-2021-41174

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 the menu bar. The url has to be crafted to exploit AngularJS rendering and contain the interpolation binding for AngularJS expressions. AngularJS uses double curly braces for interpolation binding: {{ }} ex: {{constructor.constructor(‘alert(1)’)()}}. When the user follows the link and the page renders, the login button will contain the original link with a query parameter to force a redirect to the login page. The URL is not validated and the AngularJS rendering engine will execute the JavaScript expression contained in the URL. Users are advised to upgrade as soon as possible. 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.

12 advisories report this vulnerability, across 4 ecosystems.

Medium severity All SUSE 8openSUSE 5Ubuntu 1npm 1

Advisories

  • GHSA-3j9m-hcv9-rpj8

    XSS vulnerability allowing arbitrary JavaScript execution

    Moderate CVE-2021-41174 npm Updated 8 July 2026
  • SUSE-FU-2022:1419-1

    Feature update for grafana

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-39226CVE-2021-41174 openSUSE Updated 4 February 2026
  • SUSE-SU-2022:1396-1

    Security update for SUSE Manager Client Tools

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-39226CVE-2021-41174 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2134-1

    Security update for SUSE Manager Client Tools

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-39226CVE-2021-41174 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3676-1

    Security update for grafana

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-41174CVE-2021-41244 SUSE Updated 4 February 2026
  • SUSE-SU-2022:4428-1

    Security update for grafana

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-41174CVE-2021-41244 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4437-1

    Security update for SUSE Manager Client Tools

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-41174CVE-2021-41244 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:4439-1

    Security update for SUSE Manager Client Tools

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-41174CVE-2021-41244 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0191-1

    Security Beta update for SUSE Manager Client Tools

    Known exploited CVE-2020-7753CVE-2021-36222CVE-2021-3711CVE-2021-3807 SUSE Updated 4 February 2026
  • SUSE-SU-2024:0196-1

    Security Beta update for SUSE Manager Client Tools and Salt

    Known exploited CVE-2020-7753CVE-2021-20178CVE-2021-20180CVE-2021-20191 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-41174

    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…

    CVE-2021-41174 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2024:11816-1

    grafana-8.3.4-1.1 on GA media

    Known exploited CVE-2021-36222CVE-2021-3711CVE-2021-41174CVE-2021-41244 openSUSE Updated 4 February 2026

References