{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-21238 exists.","fix":"No fix has been published for CVE-2022-21238 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-21238 is a medium-severity cross-site scripting vulnerability in InHand Networks InRouter302, published on 12 May 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-21238 and fix it if it is affected.\n\nWhat it is: CVE-2022-21238 is a medium-severity cross-site scripting vulnerability in InHand Networks InRouter302, published on 12 May 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-21238 exists.\n\nAffected product: InHand Networks InRouter302. 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-21238/ (Markdown: https://insights.sbomify.com/CVE-2022-21238/index.md)","id":"CVE-2022-21238","markdown":"https://insights.sbomify.com/CVE-2022-21238/index.md","name":"CVE-2022-21238","record":{"aliases":["GHSA-hmwh-6pgm-776g"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"InRouter302 router","requires_auth":"none","summary":"An attacker can execute arbitrary JavaScript via a crafted HTTP request to the info.jsp page of the InRouter302 router.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"talos","cpe":[{"product":"inrouter302_firmware","vendor":"inhandnetworks"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"description":"A cross-site scripting (xss) vulnerability exists in the info.jsp functionality of InHand Networks InRouter302 V3.5.4. A specially-crafted HTTP request can lead to arbitrary Javascript execution. An attacker can send an HTTP request to trigger this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Cross-site scripting in InRouter302","id":"CVE-2022-21238","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Information disclosure in Intel QAT Driver for Windows","id":"CVE-2022-21239"},"packages":[],"prev":{"headline":"Memory corruption in Intel(R) NUCs","id":"CVE-2022-21237"},"products":["InRouter302"],"published":"2022-05-12","related":[{"cvss_score":10,"headline":"Missing authorization in InRouter 302","id":"CVE-2023-22600","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":10,"headline":"Information disclosure in InRouter 302","id":"CVE-2023-22601","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":9.9,"headline":"File upload in InRouter302","id":"CVE-2022-21809","kev_date_added":null,"published":"2022-05-12"},{"cvss_score":7.4,"headline":"Privilege escalation in InRouter302","id":"CVE-2022-25932","kev_date_added":null,"published":"2022-11-09"},{"cvss_score":7.4,"headline":"Privilege escalation in InRouter302","id":"CVE-2022-21182","kev_date_added":null,"published":"2022-05-12"},{"cvss_score":7.2,"headline":"Command injection in InRouter 302","id":"CVE-2023-22598","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":7,"headline":"Hardcoded credentials in InRouter 302","id":"CVE-2023-22599","kev_date_added":null,"published":"2023-01-12"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-15","vendors":["InHand Networks"]},"summary":"An attacker can execute arbitrary JavaScript via a crafted HTTP request to the info.jsp page of the InRouter302 router.","url":"https://insights.sbomify.com/CVE-2022-21238/"}