{"answers":{"affected":"3 open source packages ship an affected version, including graphite-web. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4729 exists.","fix":"Apply the vendor's patch.","what":"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."},"fix_prompt":"Check this codebase for CVE-2022-4729 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4729 exists.\n\nAffected packages and fixed versions:\n- graphite-web (PyPI): affected all versions up to 1.1.10; no fix listed\n- graphite-web (PyPI): affected all versions up to 1.1.10; no fix listed\n- graphite-web (PyPI): affected all versions up to 1.1.10; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-4729/ (Markdown: https://insights.sbomify.com/CVE-2022-4729/index.md)","id":"CVE-2022-4729","markdown":"https://insights.sbomify.com/CVE-2022-4729/index.md","name":"CVE-2022-4729","record":{"aliases":["DEBIAN-CVE-2022-4729","GHSA-q99p-78hp-xg5c","PYSEC-2026-820","UBUNTU-CVE-2022-4729"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Graphite Web","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary scripts in Graphite Web via the Template Name Handler, requiring a patch to mitigate.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"graphite","vendor":"graphite_project"}],"cvss":{"score":3.5,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-707","name":"Improper Neutralization"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Graphite Web Template Name cross site scripting","id":"CVE-2022-4729","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2022"},"n_packages":3,"n_references":4,"next":{"headline":"Graphite Web Absolute Time Range cross site scripting","id":"CVE-2022-4730"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.1.10"],"package":"graphite-web","purl":null,"source":"GHSA-q99p-78hp-xg5c"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.1.10"],"package":"graphite-web","purl":"pkg:pypi/graphite-web","source":"GHSA-q99p-78hp-xg5c"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.1.10"],"package":"graphite-web","purl":"pkg:pypi/graphite-web","source":"PYSEC-2026-820"}],"prev":{"headline":"Graphite Web Cookie cross site scripting","id":"CVE-2022-4728"},"products":["Web"],"published":"2022-12-24","related":[{"cvss_score":7.5,"headline":"graphite.composer.views.send_email vulnerable to SSRF","id":"CVE-2017-18638","kev_date_added":null,"published":"2019-10-11"},{"cvss_score":6.8,"headline":"graphite-web is vulnerable to Remote Code Execution via renderLocalView function","id":"CVE-2013-5093","kev_date_added":null,"published":"2013-09-27"},{"cvss_score":6.8,"headline":"graphite-web is vulnerable to Remote Code Execution","id":"CVE-2013-5942","kev_date_added":null,"published":"2013-09-27"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2013-5943","kev_date_added":null,"published":"2013-09-27"},{"cvss_score":3.5,"headline":"Graphite Web Cookie cross site scripting","id":"CVE-2022-4728","kev_date_added":null,"published":"2022-12-24"},{"cvss_score":3.5,"headline":"Graphite Web Absolute Time Range cross site scripting","id":"CVE-2022-4730","kev_date_added":null,"published":"2022-12-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-10","vendors":["Graphite"]},"summary":"Remote attackers can execute arbitrary scripts in Graphite Web via the Template Name Handler, requiring a patch to mitigate.","url":"https://insights.sbomify.com/CVE-2022-4729/"}