CVE-2022-4728
Python vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability was discovered in Graphite Web affecting the Cookie Handler component. The vulnerability, identified as CVE-2022-4728, was disclosed in December 2022. This security issue affects the dashboard functionality of Graphite Web, particularly in the handling of time range text fields and dashboard queries (NVD, Ubuntu Notice).

Technical details

The vulnerability stems from improper input validation in the Cookie Handler component, specifically in the handling of time range text fields and dashboard queries. The issue allows for manipulation of input that can lead to cross-site scripting attacks. The vulnerability has been assigned a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, indicating network accessibility with low attack complexity and requiring user interaction (NVD).

Impact

If exploited, this vulnerability could allow attackers to perform cross-site scripting attacks through specially crafted inputs. The impact primarily affects the confidentiality and integrity of the application, potentially allowing attackers to obtain sensitive information or execute arbitrary JavaScript code in the context of other users' browsers (Ubuntu Notice).

Mitigation and workarounds

The vulnerability has been patched in Graphite Web with commit 2f178f490e10efc03cd1d27c72f64ecab224eb23. The fix includes input validation and sanitization for time range text fields and dashboard queries. Ubuntu has released security updates for affected versions: Ubuntu 22.04 (1.1.8-1ubuntu0.22.04.1), Ubuntu 20.04 (1.1.4-5ubuntu0.1), and Ubuntu 18.04 (1.0.2+debian-2ubuntu0.1~esm1) (GitHub PR, Ubuntu Notice).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • py3-urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management