{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41311 exists.","fix":"No fix has been published for CVE-2022-41311 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-41311 is a medium-severity cross-site scripting vulnerability in Moxa SDS-3008 Series Industrial Ethernet Switch, published on 7 Feb 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-41311 and fix it if it is affected.\n\nWhat it is: CVE-2022-41311 is a medium-severity cross-site scripting vulnerability in Moxa SDS-3008 Series Industrial Ethernet Switch, published on 7 Feb 2023. An attacker needs administrator access to exploit it, 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-41311 exists.\n\nAffected product: Moxa SDS-3008 Series Industrial Ethernet Switch. 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-41311/ (Markdown: https://insights.sbomify.com/CVE-2022-41311/index.md)","id":"CVE-2022-41311","markdown":"https://insights.sbomify.com/CVE-2022-41311/index.md","name":"CVE-2022-41311","record":{"aliases":["GHSA-xrxr-6vrf-4m23"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Industrial Ethernet Switch","requires_auth":"high_privilege","summary":"An attacker can execute arbitrary JavaScript via a stored XSS vulnerability in the web interface of Moxa industrial switches.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"talos","cpe":[{"product":"sds-3008-t_firmware","vendor":"moxa"},{"product":"sds-3008_firmware","vendor":"moxa"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A stored cross-site scripting vulnerability exists in the web application functionality of Moxa SDS-3008 Series Industrial Ethernet Switch 2.1. A specially-crafted HTTP request can lead to arbitrary Javascript execution. An attacker can send an HTTP request to trigger this vulnerability.Form field id=\"webLocationMessage_text\" name=\"webLocationMessage_text\"","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 SDS-3008 Series Industrial Ethernet Switch","id":"CVE-2022-41311","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-site scripting in SDS-3008 Series Industrial Ethernet Switch","id":"CVE-2022-41312"},"packages":[],"prev":{"headline":"Memory corruption in Autodesk Design Review","id":"CVE-2022-41310"},"products":["SDS-3008 Series Industrial Ethernet Switch"],"published":"2023-02-07","related":[{"cvss_score":5.9,"headline":"Information disclosure in SDS-3008 Series Industrial Ethernet Switch","id":"CVE-2022-40693","kev_date_added":null,"published":"2023-02-07"},{"cvss_score":5.3,"headline":"Denial of service in SDS-3008 Series Industrial Ethernet Switch","id":"CVE-2022-40224","kev_date_added":null,"published":"2023-02-07"},{"cvss_score":5.3,"headline":"Information disclosure in SDS-3008 Series Industrial Ethernet Switch","id":"CVE-2022-40691","kev_date_added":null,"published":"2023-02-07"},{"cvss_score":4.3,"headline":"Cross-site scripting in SDS-3008 Series Industrial Ethernet Switch","id":"CVE-2022-41312","kev_date_added":null,"published":"2023-02-07"},{"cvss_score":4.3,"headline":"Cross-site scripting in SDS-3008 Series Industrial Ethernet Switch","id":"CVE-2022-41313","kev_date_added":null,"published":"2023-02-07"}],"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-11-04","vendors":["Moxa"]},"summary":"An attacker can execute arbitrary JavaScript via a stored XSS vulnerability in the web interface of Moxa industrial switches.","url":"https://insights.sbomify.com/CVE-2022-41311/"}