{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2018-4848 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-4848 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-4848 is a medium-severity cross-site scripting vulnerability in Siemens SCALANCE X-200 switch family (incl. SIPLUS NET variants), published on 14 Jun 2018. 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-2018-4848 and fix it if it is affected.\n\nWhat it is: CVE-2018-4848 is a medium-severity cross-site scripting vulnerability in Siemens SCALANCE X-200 switch family (incl. SIPLUS NET variants), published on 14 Jun 2018. 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-2018-4848 in the wild and no public exploit code.\n\nAffected product: Siemens SCALANCE X-200 switch family (incl. SIPLUS NET variants). 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-2018-4848/ (Markdown: https://insights.sbomify.com/CVE-2018-4848/index.md)","id":"CVE-2018-4848","markdown":"https://insights.sbomify.com/CVE-2018-4848/index.md","name":"CVE-2018-4848","record":{"aliases":["GHSA-9g23-gj69-j9g7"],"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 arbitrary scripts in the web interface of Siemens SCALANCE switches if a logged-in user visits a malicious link.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"scalance_x-200_firmware","vendor":"siemens"},{"product":"scalance_x-200_irt_firmware","vendor":"siemens"},{"product":"scalance_x300_firmware","vendor":"siemens"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/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 vulnerability has been identified in SCALANCE X-200 switch family (incl. SIPLUS NET variants) (All versions \u003c V5.2.3), SCALANCE X-200IRT switch family (incl. SIPLUS NET variants) (All versions \u003c V5.4.1), SCALANCE X-200RNA switch family (All versions \u003c V3.2.7), SCALANCE X-300 switch family (incl. X408 and SIPLUS NET variants) (All versions \u003c V4.1.3). The integrated configuration web server of the affected devices could allow Cross-Site Scripting (XSS) attacks if unsuspecting users are tricked into accessing a malicious link. User interaction is required for a successful exploitation. The user must be logged into the web interface in order for the exploitation to succeed. At the stage of publishing this security advisory no public exploitation is known. The vendor has confirmed the vulnerability and provides mitigations to resolve it.","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 X-200 switch family (incl. SIPLUS NET variants)","id":"CVE-2018-4848","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Weak cryptography in Siveillance VMS Video for Android, Siveillance VMS Video for iOS","id":"CVE-2018-4849"},"packages":[],"prev":{"headline":"Information disclosure in SIMATIC WinCC OA Operator iOS App","id":"CVE-2018-4847"},"products":["SCALANCE X-200 switch family (incl. SIPLUS NET variants)","SCALANCE X-200IRT switch family (incl. SIPLUS NET variants)","SCALANCE X-200RNA switch family","SCALANCE X-300 switch family (incl. X408 and SIPLUS NET variants)"],"published":"2018-06-14","related":[{"cvss_score":9.1,"headline":"Other in SCALANCE X204-2","id":"CVE-2019-6569","kev_date_added":null,"published":"2019-03-26"},{"cvss_score":8.6,"headline":"Denial of service in SCALANCE X-200 switch family (incl. SIPLUS NET variants)","id":"CVE-2019-10942","kev_date_added":null,"published":"2019-08-13"},{"cvss_score":5.5,"headline":"Information disclosure in SCALANCE X-200 switch family (incl. SIPLUS NET variants)","id":"CVE-2019-6567","kev_date_added":null,"published":"2019-06-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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Siemens"]},"summary":"An attacker can execute arbitrary scripts in the web interface of Siemens SCALANCE switches if a logged-in user visits a malicious link.","url":"https://insights.sbomify.com/CVE-2018-4848/"}