Security readout for executives and security teams
Plain-English summary
Certain Grafana 8.x and 9.x versions can store unsafe content in Unified Alerting. A lower-privileged editor could use it to target an authenticated admin and potentially gain admin privileges. This matters most where Grafana has multiple users and admins routinely review alerting content.
Executive priority
Treat as high priority where Grafana is multi-user or supports critical monitoring. The risk is privilege escalation to admin, but exploitation requires prior editor access and admin interaction.
Technical view
CVE-2022-31097 is a CWE-79 stored XSS in Grafana Unified Alerting. A low-privileged editor can trigger admin interaction and potentially escalate to admin. Affected versions are before 9.0.3, 8.5.9, 8.4.10, and 8.3.10. CVSS is 7.3 high.
Likely exposure
Exposure is likely in self-managed Grafana deployments on affected 8.x or 9.x versions using Unified Alerting with editor-level users and authenticated admins.
Exploitation context
The sources describe privilege escalation from editor to admin requiring an authenticated admin to click a link. The bundle marks KEV as false, and no cited source here confirms active exploitation.
Researcher notes
Evidence supports affected branches, fixed versions, CVSS, CWE, and workaround. The provided sources do not establish active exploitation. Avoid production payload testing; validate through version, feature configuration, role exposure, and vendor-fixed release deployment.
Mitigation direction
- Upgrade Grafana to 9.0.3, 8.5.9, 8.4.10, 8.3.10, or later supported releases.
- If immediate upgrade is blocked, disable alerting or use legacy alerting as the stated workaround.
- Restrict editor access until patched, especially in shared or externally administered Grafana environments.
- Review Grafana and dependent vendor guidance for product-specific packaging or support notes.
Validation and detection
- Inventory Grafana instances and confirm installed versions against the affected ranges.
- Confirm whether Unified Alerting is enabled on vulnerable instances.
- Review editor-level user access and reduce unnecessary privileges before remediation completes.
- Check recent alerting changes and admin privilege changes for unexpected activity.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2022-31097 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.3 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N2.15.2Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.3HighVector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5fCVE reference · x_refsource_CONFIRM
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/CVE reference · x_refsource_MISC
- https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/CVE reference · x_refsource_MISC
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/CVE reference · x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220901-0010/CVE reference · x_refsource_CONFIRM
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
