CVE-2022-4728: Graphite Web Cross-site Scripting Vulnerability

graphite-web Updated 07 Jul 2026

Summary

07/07/2026
No i
Moderate
5.4

CVE-2022-4728: Graphite Web Cross-site Scripting vulnerability. Affects graphite-web versions < 1.1.10. No fix is published. How to fix ↓

Also tracked for

The same CVE-2022-4728 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Graphite Web is an open-source web application that provides a powerful interface for visualizing time-series data. It is widely used for monitoring and graphing performance metrics. The application allows users to create and manage graphs, dashboards, and alerts based on the data collected. However, it has been found to be vulnerable to a cross-site scripting (XSS) attack, which can compromise user data and application integrity.

Vulnerability Detail

A cross-site scripting (XSS) vulnerability has been identified in Graphite Web, specifically within the Cookie Handler component. This vulnerability allows an attacker to inject malicious scripts into web pages viewed by other users. The attack can be initiated remotely, posing a significant risk to users who interact with the affected application. If exploited, this vulnerability could lead to unauthorized access to sensitive information, session hijacking, and other malicious activities.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement input sanitization and validation on the affected components to mitigate the risk of XSS attacks. However, this is not a permanent solution and updating the package is strongly advised.

Conclusion

The CVE-2022-4728 vulnerability in Graphite Web poses a significant risk due to its potential for cross-site scripting attacks. Users are strongly encouraged to update their installations to the latest patched version to mitigate this risk. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for graphite-web →

Share this vulnerability

FAQ

CVE-2022-4728 is a cross-site scripting vulnerability found in Graphite Web that allows attackers to inject malicious scripts into web pages.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor for open-source vulnerabilities without requiring signup.

If exploited, this vulnerability can lead to unauthorized access to user data, session hijacking, and other malicious activities.

Yes, a patch is available. You can update to version 1.1.11 or later of Graphite Web to fix the vulnerability.

The CVSS score of this vulnerability is 5.4, indicating a moderate level of risk.

Related vulnerabilities

Recent vulnerabilities recorded for graphite-web.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback