CVE-2022-31097
July 15, 2022
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.
Affected Packages
github.com/grafana/grafana (GO):
Affected version(s) >=v8.4.0 <v8.4.10Fix Suggestion:
Update to version v8.4.10github.com/grafana/grafana (GO):
Affected version(s) >=v9.0.0 <v9.0.3Fix Suggestion:
Update to version v9.0.3github.com/grafana/grafana (GO):
Affected version(s) >=v8.0.0 <v8.3.10Fix Suggestion:
Update to version v8.3.10github.com/grafana/grafana (GO):
Affected version(s) >=v8.5.0 <v8.5.9Fix Suggestion:
Update to version v8.5.9Related Resources (12)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
48.06