Grafana Labs Stored XSS (CVE-2022-31097)

high Nessus Plugin ID 184357


The web application running on the remote web server is affected by a cross-site scripting vulnerability.


According to its self-reported version number, the version of Grafana Labs running on the remote host is affected by a stored cross-site scripting vulnerability:

- XSS vulnerability in the Unified Alerting feature of Grafana. After analysis, this stored XSS could be used to elevate privileges from Editor to Admin. (CVE-2022-31097) Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.


Upgrade to Grafana 8.3.10, 8.4.10, 8.5.9, 9.0.3, 9.2.7, 9.3.0 or later

See Also

Plugin Details

Severity: High

ID: 184357

File Name: grafana_cve-2022-31097.nasl

Version: 1.4

Type: remote

Family: Web Servers

Published: 11/3/2023

Updated: 2/16/2024

Supported Sensors: Nessus

Risk Information


Risk Factor: Medium

Score: 6.3


Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2022-31097


Risk Factor: High

Base Score: 8.7

Temporal Score: 7.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:grafana:grafana

Required KB Items: installed_sw/Grafana Labs

Exploit Ease: No known exploits are available

Patch Publication Date: 7/14/2022

Vulnerability Publication Date: 7/14/2022

Reference Information

CVE: CVE-2022-31097

IAVB: 2023-B-0087-S