CVE-2022-4728 Graphite Web Cookie cross site scripting
Remote attackers can execute arbitrary scripts in Graphite Web via a cross-site scripting vulnerability in the cookie handler.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-4728?
CVE-2022-4728 is a low-severity cross-site scripting vulnerability in Graphite Web, published on 24 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability has been found in Graphite Web and classified as problematic. This vulnerability affects unknown code of the component Cookie Handler. The manipulation leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 2f178f490e10efc03cd1d27c72f64ecab224eb23. It is recommended to apply a patch to fix this issue. VDB-216742 is the identifier assigned to this vulnerability.
Which versions are affected by CVE-2022-4728?
3 open source packages ship an affected version, including graphite-web. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
graphite-web PyPI | All versions to 1.1.10 | None |
graphite-web PyPI | All versions to 1.1.10 | None |
graphite-web PyPI | All versions to 1.1.10 | None |
Products include Graphite Project Graphite.
How do I fix CVE-2022-4728?
Apply the vendor's patch.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-4728 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4728 exists.
Other vulnerabilities in Graphite Web
- CVE-2017-18638 graphite.composer.views.send_email vulnerable to SSRF
- CVE-2013-5093 graphite-web is vulnerable to Remote Code Execution via renderLocalView function
- CVE-2013-5942 graphite-web is vulnerable to Remote Code Execution
- CVE-2013-5943 Cross-site scripting in n/a
- CVE-2022-4729 Graphite Web Template Name cross site scripting
Sources
Also known as DEBIAN-CVE-2022-4728, GHSA-3c5x-4hvx-qrrr, PYSEC-2026-818, UBUNTU-CVE-2022-4728.