{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31402 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-31402 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31402 is a medium-severity cross-site scripting vulnerability in Combodo Itop, published on 10 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-31402 and fix it if it is affected.\n\nWhat it is: CVE-2022-31402 is a medium-severity cross-site scripting vulnerability in Combodo Itop, published on 10 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-31402 in the wild and no public exploit code.\n\nAffected product: Combodo Itop. 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-2022-31402/ (Markdown: https://insights.sbomify.com/CVE-2022-31402/index.md)","id":"CVE-2022-31402","markdown":"https://insights.sbomify.com/CVE-2022-31402/index.md","name":"CVE-2022-31402","record":{"aliases":["GHSA-vpqg-j296-mm4f"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"ITOP web application","requires_auth":"none","summary":"An attacker can execute arbitrary scripts in the victim's browser via a cross-site scripting vulnerability in the ITOP export service.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"itop","vendor":"combodo"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"ITOP v3.0.1 was discovered to contain a cross-site scripting (XSS) vulnerability via /itop/webservices/export-v2.php.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-06-10","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-06-10T03:23:58Z","kind":"github_poc","ref":"https://github.com/YSah44/CVE-2022-31402","stars":1,"title":"CVE-2022-31402"}],"tier":"poc_unverified"},"has_fix":false,"headline":"Cross-site scripting in n/a","id":"CVE-2022-31402","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"combodo:itop","products":["combodo:itop"],"type":"xss","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2022-31403"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2022-31400"},"products":["n/a"],"published":"2022-06-10","related":[{"cvss_score":9.8,"headline":"iTop limit pages/exec.php script to PHP files","id":"CVE-2023-48710","kev_date_added":null,"published":"2024-04-15"},{"cvss_score":9.6,"headline":"Authenticated users of Combodo iTop can take over any account","id":"CVE-2022-39214","kev_date_added":null,"published":"2023-03-14"},{"cvss_score":9.3,"headline":"XSS in csvimport in 3.0.0-beta versions","id":"CVE-2021-41161","kev_date_added":null,"published":"2022-04-21"},{"cvss_score":9.3,"headline":"Cross-site Scripting in Combodo iTop","id":"CVE-2021-41162","kev_date_added":null,"published":"2022-04-21"},{"cvss_score":8.8,"headline":"Combodo iTop has XSS vulnerability in /pages/ajax.render.php","id":"CVE-2025-47773","kev_date_added":null,"published":"2025-11-10"},{"cvss_score":8.8,"headline":"Combodo iTop vulnerable to reflected XSS in ajax.render.php render_dashboard","id":"CVE-2025-47932","kev_date_added":null,"published":"2025-11-10"},{"cvss_score":8.8,"headline":"Combodo iTop vulnerable to reflected XSS via objection edition form error","id":"CVE-2025-48065","kev_date_added":null,"published":"2025-11-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An attacker can execute arbitrary scripts in the victim's browser via a cross-site scripting vulnerability in the ITOP export service.","url":"https://insights.sbomify.com/CVE-2022-31402/"}