Grafana up to 8.3.9/8.4.9/8.5.8/9.0.2 Unified Alerting cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.4 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in Grafana up to 8.3.9/8.4.9/8.5.8/9.0.2. The impacted element is an unknown function of the component Unified Alerting. Performing a manipulation results in cross site scripting. This vulnerability is identified as CVE-2022-31097. The attack can be initiated remotely. There is not any exploit available. It is suggested to upgrade the affected component.
Details
A vulnerability was found in Grafana up to 8.3.9/8.4.9/8.5.8/9.0.2. It has been classified as problematic. This affects an unknown code of the component Unified Alerting. The manipulation with an unknown input leads to a cross site scripting vulnerability. CWE is classifying the issue as CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. This is going to have an impact on integrity. The summary by CVE is:
Grafana is an open-source platform for monitoring and observability. Versions on the 8.x and 9.x branch prior to 9.0.3, 8.5.9, 8.4.10, and 8.3.10 are vulnerable to stored cross-site scripting via the Unified Alerting feature of Grafana. An attacker can exploit this vulnerability to escalate privilege from editor to admin by tricking an authenticated admin to click on a link. Versions 9.0.3, 8.5.9, 8.4.10, and 8.3.10 contain a patch. As a workaround, it is possible to disable alerting or use legacy alerting.
The weakness was released 07/16/2022 as GHSA-vw7q-p2qg-4m5f. It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2022-31097 since 05/18/2022. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 211248 (Fedora 37 : grafana (2022-047d3845db)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 8.3.10, 8.4.10, 8.5.9 or 9.0.3 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (211248). Be aware that VulDB is the high quality source for vulnerability data.
Product
Name
Version
- 8.3.0
- 8.3.1
- 8.3.2
- 8.3.3
- 8.3.4
- 8.3.5
- 8.3.6
- 8.3.7
- 8.3.8
- 8.3.9
- 8.4.0
- 8.4.1
- 8.4.2
- 8.4.3
- 8.4.4
- 8.4.5
- 8.4.6
- 8.4.7
- 8.4.8
- 8.4.9
- 8.5.0
- 8.5.1
- 8.5.2
- 8.5.3
- 8.5.4
- 8.5.5
- 8.5.6
- 8.5.7
- 8.5.8
- 9.0.0
- 9.0.1
- 9.0.2
License
Website
- Product: https://github.com/grafana/grafana/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.4
NVD Vector: 🔍
CNA Base Score: 7.3
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 211248
Nessus Name: Fedora 37 : grafana (2022-047d3845db)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Grafana 8.3.10/8.4.10/8.5.9/9.0.3
Timeline
05/18/2022 🔍07/16/2022 🔍
07/16/2022 🔍
04/30/2025 🔍
Sources
Product: github.comAdvisory: GHSA-vw7q-p2qg-4m5f
Status: Confirmed
CVE: CVE-2022-31097 (🔍)
GCVE (CVE): GCVE-0-2022-31097
GCVE (VulDB): GCVE-100-203991
Entry
Created: 07/16/2022 09:47Updated: 04/30/2025 18:33
Changes: 07/16/2022 09:47 (50), 08/01/2022 09:21 (10), 11/16/2024 14:24 (16), 04/30/2025 18:33 (3)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.