{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-8340 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-8340 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-8340 is a medium-severity cross-site scripting vulnerability in IBM System x IMM2 firmware, published on 15 Sep 2020. 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-2020-8340 and fix it if it is affected.\n\nWhat it is: CVE-2020-8340 is a medium-severity cross-site scripting vulnerability in IBM System x IMM2 firmware, published on 15 Sep 2020. 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-2020-8340 in the wild and no public exploit code.\n\nAffected product: IBM System x IMM2 firmware. 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-2020-8340/ (Markdown: https://insights.sbomify.com/CVE-2020-8340/index.md)","id":"CVE-2020-8340","markdown":"https://insights.sbomify.com/CVE-2020-8340/index.md","name":"CVE-2020-8340","record":{"aliases":["GHSA-6gmj-5hf7-3xr4"],"analysis":{"component_type":"hardware_firmware","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"System x IMM2 firmware","requires_auth":"none","summary":"Cross-site scripting in IBM/Lenovo IMM2 firmware allows JavaScript execution in user browsers via crafted URLs, requiring user interaction and network knowledge.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"lenovo","cpe":[{"product":"integrated_management_module_2","vendor":"lenovo"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A cross-site scripting (XSS) vulnerability was discovered in the legacy IBM and Lenovo System x IMM2 (Integrated Management Module 2), prior to version 5.60, embedded Baseboard Management Controller (BMC) web interface during an internal security review. This vulnerability could allow JavaScript code to be executed in the user's web browser if the user is convinced to visit a crafted URL, possibly through phishing. Successful exploitation requires specific knowledge about the user’s network to be included in the crafted URL. Impact is limited to the normal access restrictions and permissions of the user clicking the crafted URL, and subject to the user being able to connect to and already being authenticated to IMM2 or other systems. The JavaScript code is not executed on IMM2 itself.","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 System x IMM2 firmware","id":"CVE-2020-8340","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Security feature bypass in ThinkPad","id":"CVE-2020-8341"},"packages":[],"prev":{"headline":"Cross-site scripting in BladeCenter AMM firmware","id":"CVE-2020-8339"},"products":["System x IMM2 firmware","System x IMM2 firmware for x240 M5, Machine Types: 9532, 2591","System x IMM2 firmware for: x240, Machine Types: 7162, 2588;  x440, Machine Type 7167, 2590 ; x3750 M4, Machine Type: 8753 ;  x3250 M6, Machine type 3633, 3943 ; nx360 M5, Machine type 5465, 5467 ;  x280/x480/x880 X6 , Machine Type 7196, 4258 ; x3850 X6 and x3950 X6, Machine type 6241    ; x3550 M5, Machine Type 5463, 8869 ; x3650 M5, Machine Type 5462, 8871; x3500 M5, Machine Type 5464, 5478"],"published":"2020-09-15","related":[{"cvss_score":9.8,"headline":"Memory corruption in IMM2","id":"CVE-2017-3774","kev_date_added":null,"published":"2018-04-19"}],"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-09-17","vendors":["IBM","Lenovo"]},"summary":"Cross-site scripting in IBM/Lenovo IMM2 firmware allows JavaScript execution in user browsers via crafted URLs, requiring user interaction and network knowledge.","url":"https://insights.sbomify.com/CVE-2020-8340/"}