{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2022-46350 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-46350 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-46350 is a medium-severity cross-site scripting vulnerability in Siemens SCALANCE X204RNA (HSR), published on 13 Dec 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-46350 and fix it if it is affected.\n\nWhat it is: CVE-2022-46350 is a medium-severity cross-site scripting vulnerability in Siemens SCALANCE X204RNA (HSR), published on 13 Dec 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-46350 in the wild and no public exploit code.\n\nAffected product: Siemens SCALANCE X204RNA (HSR). 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-46350/ (Markdown: https://insights.sbomify.com/CVE-2022-46350/index.md)","id":"CVE-2022-46350","markdown":"https://insights.sbomify.com/CVE-2022-46350/index.md","name":"CVE-2022-46350","record":{"aliases":["GHSA-7c94-jfmg-hjhf"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Siemens SCALANCE switch","requires_auth":"none","summary":"An attacker can execute malicious scripts on the device's web interface by tricking users into visiting a crafted link, potentially triggering unauthorized requests.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"6gk5204-0ba00-2kb2_firmware","vendor":"siemens"},{"product":"6gk5204-0ba00-2mb2_firmware","vendor":"siemens"},{"product":"6gk5204-0bs00-2na3_firmware","vendor":"siemens"},{"product":"6gk5204-0bs00-3la3_firmware","vendor":"siemens"},{"product":"6gk5204-0bs00-3pa3_firmware","vendor":"siemens"}],"cvss":{"score":6.1,"severity":"medium","source":"cisa-adp","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"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"description":"A vulnerability has been identified in SCALANCE X204RNA (HSR) (All versions \u003c V3.2.7), SCALANCE X204RNA (PRP) (All versions \u003c V3.2.7), SCALANCE X204RNA EEC (HSR) (All versions \u003c V3.2.7), SCALANCE X204RNA EEC (PRP) (All versions \u003c V3.2.7), SCALANCE X204RNA EEC (PRP/HSR) (All versions \u003c V3.2.7). The integrated web server could allow Cross-Site Scripting (XSS) attacks if unsuspecting users are tricked into accessing a malicious link. This can be used by an attacker to trigger a malicious request on the affected device.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Cross-site scripting in SCALANCE X204RNA (HSR)","id":"CVE-2022-46350","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Denial of service in SCALANCE X204RNA (HSR)","id":"CVE-2022-46351"},"packages":[],"prev":{"headline":"Memory corruption in Parasolid V33.1","id":"CVE-2022-46349"},"products":["SCALANCE X204RNA (HSR)","SCALANCE X204RNA (PRP)","SCALANCE X204RNA EEC (HSR)","SCALANCE X204RNA EEC (PRP)","SCALANCE X204RNA EEC (PRP/HSR)"],"published":"2022-12-13","related":[{"cvss_score":9.8,"headline":"Weak cryptography in SCALANCE X204RNA (HSR)","id":"CVE-2022-46353","kev_date_added":null,"published":"2022-12-13"},{"cvss_score":7.5,"headline":"Denial of service in SCALANCE X204RNA (HSR)","id":"CVE-2022-46352","kev_date_added":null,"published":"2022-12-13"},{"cvss_score":7.5,"headline":"Information disclosure in SCALANCE X204RNA (HSR)","id":"CVE-2022-46355","kev_date_added":null,"published":"2022-12-13"},{"cvss_score":5.5,"headline":"Denial of service in SCALANCE X204RNA (HSR)","id":"CVE-2022-46351","kev_date_added":null,"published":"2022-12-13"},{"cvss_score":5.3,"headline":"Information disclosure in SCALANCE X204RNA (HSR)","id":"CVE-2022-46354","kev_date_added":null,"published":"2022-12-13"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["Siemens"]},"summary":"An attacker can execute malicious scripts on the device's web interface by tricking users into visiting a crafted link, potentially triggering unauthorized requests.","url":"https://insights.sbomify.com/CVE-2022-46350/"}