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

graphite-web Updated 02 Oct 2025

Summary

27/12/2022
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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Graphite Web is an open-source web application that provides a user interface for the Graphite time series database. It allows users to visualize and analyze time series data. The vulnerability identified in Graphite Web is related to the Cookie Handler component. This vulnerability can be exploited remotely and leads to cross-site scripting (XSS) attacks. The exploit has been disclosed publicly, increasing the risk of potential attacks. The vulnerability is assigned the identifier VDB-216742.

Vulnerability Detail

The vulnerability in Graphite Web's Cookie Handler component allows for cross-site scripting attacks. This means that an attacker can inject malicious code into the web application, which will then be executed by the victim's browser. This can lead to various security risks, such as stealing sensitive information, session hijacking, or delivering malware to users. The severity of this vulnerability is rated as MODERATE with a CVSS score of 5.4.

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 →

Conclusion

The Graphite Web Cross-site Scripting vulnerability (CVE-2022-4728) poses a moderate security risk, allowing for cross-site scripting attacks. To mitigate this vulnerability, it is crucial to apply the provided patch (2f178f490e10efc03cd1d27c72f64ecab224eb23) to the affected version of Graphite Web. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for graphite-web →

Share this vulnerability

FAQ

The vulnerability allows for cross-site scripting attacks, which can lead to various security risks, including data theft, session hijacking, and malware delivery.

You can check if your version of Graphite Web is affected by visiting the vulnerability playground at Vulert Scanner. Simply enter your application's Pipfile.lock to see if it is vulnerable to this specific issue.

No specific workaround has been provided for this vulnerability. It is recommended to apply the patch to fix the issue.

The severity of this vulnerability is rated as MODERATE with a CVSS score of 5.4.

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