CVE-2022-4729 Graphite Web Template Name cross site scripting
Remote attackers can execute arbitrary scripts in Graphite Web via the Template Name Handler, requiring a patch to mitigate.
- 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-4729?
CVE-2022-4729 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 was found in Graphite Web and classified as problematic. This issue affects some unknown processing of the component Template Name Handler. The manipulation leads to cross site scripting. The attack may 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. The associated identifier of this vulnerability is VDB-216743.
Which versions are affected by CVE-2022-4729?
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-4729?
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-4729 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4729 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-4728 Graphite Web Cookie cross site scripting
Sources
Also known as DEBIAN-CVE-2022-4729, GHSA-q99p-78hp-xg5c, PYSEC-2026-820, UBUNTU-CVE-2022-4729.