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

graphite-web Updated 02 Oct 2025

Summary

27/12/2022
No i
Moderate
5.4

CVE-2022-4730: 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-4730 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 user interface for the Graphite time series database. It allows users to visualize and analyze time series data. The Absolute Time Range Handler is a component of Graphite Web that handles time range selection. This vulnerability affects versions 0 to 1.1.10 of the graphite-web package.

Vulnerability Detail

The Absolute Time Range Handler in Graphite Web is vulnerable to cross-site scripting (XSS) attacks. An attacker can exploit this vulnerability remotely by manipulating the time range selection. By injecting malicious scripts, the attacker can execute arbitrary code in the context of the user's browser. This can lead to various security risks, such as stealing sensitive information or performing actions on behalf of the user.

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

There is no known workaround for this vulnerability. Applying the patch is the recommended solution.

Conclusion

The Graphite Web Absolute Time Range Handler is vulnerable to cross-site scripting attacks. To mitigate this vulnerability, it is crucial to apply the provided patch and update the graphite-web package. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for graphite-web →

Share this vulnerability

FAQ

This vulnerability allows an attacker to execute arbitrary code in the user's browser, potentially leading to data theft or unauthorized actions.

Yes, this vulnerability can be exploited remotely by manipulating the time range selection in Graphite Web.

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

Yes, a patch with the identifier 2f178f490e10efc03cd1d27c72f64ecab224eb23 has been released to address this vulnerability. It is recommended to update the graphite-web package to a version that includes this patch.

No, there is no known workaround for this vulnerability. Applying the patch is the recommended solution.

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