{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-22119 exists.","fix":"Apply the vendor's patch.","what":"CVE-2024-22119 is a medium-severity cross-site scripting vulnerability in Zabbix Zabbix, published on 9 Feb 2024. 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-2024-22119 and fix it if it is affected.\n\nWhat it is: CVE-2024-22119 is a medium-severity cross-site scripting vulnerability in Zabbix Zabbix, published on 9 Feb 2024. 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-2024-22119 exists.\n\nAffected product: Zabbix Zabbix. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2024-22119/ (Markdown: https://insights.sbomify.com/CVE-2024-22119/index.md)","id":"CVE-2024-22119","markdown":"https://insights.sbomify.com/CVE-2024-22119/index.md","name":"CVE-2024-22119","record":{"aliases":["DEBIAN-CVE-2024-22119","DLA-3798-1","GHSA-8w8q-863g-6gx9","SUSE-SU-2024:0862-1","UBUNTU-CVE-2024-22119","openSUSE-SU-2024:0064-1"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Zabbix monitoring","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts via the Name field in Graph items, potentially leading to session hijacking or code execution in Zabbix.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Zabbix","cpe":[{"product":"zabbix","vendor":"zabbix"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"The cause of vulnerability is improper validation of form input field “Name” on Graph page in Items section.","ecosystems":["SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Package Hub 15 SP5","openSUSE:Leap 15.5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Stored XSS in graph items select form","id":"CVE-2024-22119","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"zabbix:zabbix","products":["zabbix:zabbix"],"type":"xss","year":"2024"},"n_packages":4,"n_references":2,"next":{"headline":"Time Based SQL Injection in Zabbix Server Audit Log","id":"CVE-2024-22120"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["4.0.12-4.27.1"],"introduced":["0"],"last_affected":[],"package":"zabbix","purl":"pkg:rpm/suse/zabbix\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2024:0862-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["4.0.12-4.27.1"],"introduced":["0"],"last_affected":[],"package":"zabbix","purl":"pkg:rpm/suse/zabbix\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2024:0862-1"},{"ecosystem":"SUSE:Package Hub 15 SP5","fixed":["4.0.50-bp155.3.12.1"],"introduced":["0"],"last_affected":[],"package":"zabbix","purl":"pkg:rpm/suse/zabbix\u0026distro=SUSE%20Package%20Hub%2015%20SP5","source":"openSUSE-SU-2024:0064-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["4.0.50-bp155.3.12.1"],"introduced":["0"],"last_affected":[],"package":"zabbix","purl":"pkg:rpm/opensuse/zabbix\u0026distro=openSUSE%20Leap%2015.5","source":"openSUSE-SU-2024:0064-1"}],"prev":{"headline":"Value of sysmap_element_url can be de-synchronized causing the map element to crash when new URLs is added","id":"CVE-2024-22117"},"products":["Zabbix"],"published":"2024-02-09","related":[{"cvss_score":9.1,"headline":"Zabbix Frontend Authentication Bypass","id":"CVE-2022-23131","kev_date_added":"2022-02-22","published":"2022-01-13"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-0640","kev_date_added":null,"published":"2007-01-31"},{"cvss_score":9.9,"headline":"SQL injection in user.get API","id":"CVE-2024-42327","kev_date_added":null,"published":"2024-11-27"},{"cvss_score":9.9,"headline":"Remote code execution within ping script","id":"CVE-2024-22116","kev_date_added":null,"published":"2024-08-09"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2013-3738","kev_date_added":null,"published":"2020-02-17"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2013-5743","kev_date_added":null,"published":"2019-12-11"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2016-10134","kev_date_added":null,"published":"2017-02-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["Zabbix"]},"summary":"Attackers can inject malicious scripts via the Name field in Graph items, potentially leading to session hijacking or code execution in Zabbix.","url":"https://insights.sbomify.com/CVE-2024-22119/"}