{"answers":{"affected":"It affects 17 products.","exploited":"There is no known exploitation of CVE-2021-20680 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-20680 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-20680 is a medium-severity cross-site scripting vulnerability in NEC Aterm devices, published on 26 Apr 2021. 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-2021-20680 and fix it if it is affected.\n\nWhat it is: CVE-2021-20680 is a medium-severity cross-site scripting vulnerability in NEC Aterm devices, published on 26 Apr 2021. 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-2021-20680 in the wild and no public exploit code.\n\nAffected product: NEC Aterm devices. 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-2021-20680/ (Markdown: https://insights.sbomify.com/CVE-2021-20680/index.md)","id":"CVE-2021-20680","markdown":"https://insights.sbomify.com/CVE-2021-20680/index.md","name":"CVE-2021-20680","record":{"aliases":["GHSA-qrw9-9x9v-8v9p"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"NEC Aterm router","requires_auth":"none","summary":"Remote attackers can inject arbitrary scripts into NEC Aterm routers, potentially compromising user sessions and device security.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jpcert","cpe":[{"product":"aterm_w1200ex-ms_firmware","vendor":"nec"},{"product":"aterm_w1200ex_firmware","vendor":"nec"},{"product":"aterm_w300p_firmware","vendor":"nec"},{"product":"aterm_w500p_firmware","vendor":"nec"},{"product":"aterm_wf300hp2_firmware","vendor":"nec"},{"product":"aterm_wf800hp_firmware","vendor":"nec"},{"product":"aterm_wg1200hp2_firmware","vendor":"nec"},{"product":"aterm_wg1200hp3_firmware","vendor":"nec"},{"product":"aterm_wg1200hp_firmware","vendor":"nec"},{"product":"aterm_wg1200hs2_firmware","vendor":"nec"},{"product":"aterm_wg1200hs3_firmware","vendor":"nec"},{"product":"aterm_wg1200hs_firmware","vendor":"nec"},{"product":"aterm_wg1800hp3_firmware","vendor":"nec"},{"product":"aterm_wg1800hp4_firmware","vendor":"nec"},{"product":"aterm_wg1900hp2_firmware","vendor":"nec"},{"product":"aterm_wg1900hp_firmware","vendor":"nec"},{"product":"aterm_wr8165n_firmware","vendor":"nec"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","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"}],"description":"Cross-site scripting vulnerability in NEC Aterm devices (Aterm WG1900HP2 firmware Ver.1.3.1 and earlier, Aterm WG1900HP firmware Ver.2.5.1 and earlier, Aterm WG1800HP4 firmware Ver.1.3.1 and earlier, Aterm WG1800HP3 firmware Ver.1.5.1 and earlier, Aterm WG1200HS2 firmware Ver.2.5.0 and earlier, Aterm WG1200HP3 firmware Ver.1.3.1 and earlier, Aterm WG1200HP2 firmware Ver.2.5.0 and earlier, Aterm W1200EX firmware Ver.1.3.1 and earlier, Aterm W1200EX-MS firmware Ver.1.3.1 and earlier, Aterm WG1200HS firmware all versions Aterm WG1200HP firmware all versions Aterm WF800HP firmware all versions Aterm WF300HP2 firmware all versions Aterm WR8165N firmware all versions Aterm W500P firmware all versions, and Aterm W300P firmware all versions) allows remote attackers to inject arbitrary script or HTML via unspecified vectors.","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 NEC Aterm devices","id":"CVE-2021-20680","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-site Scripting (XSS) in baserCMS","id":"CVE-2021-20681"},"packages":[],"prev":{"headline":"Denial of service in Fuji Xerox multifunction devices and printers","id":"CVE-2021-20679"},"products":["NEC Aterm devices"],"published":"2021-04-26","related":[{"cvss_score":6.3,"headline":"Missing authorization in Aterm GB1200PE","id":"CVE-2026-4309","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":6.3,"headline":"Security feature bypass in Aterm GB1200PE","id":"CVE-2026-4621","kev_date_added":null,"published":"2026-03-27"}],"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-03","vendors":["NEC Corporation"]},"summary":"Remote attackers can inject arbitrary scripts into NEC Aterm routers, potentially compromising user sessions and device security.","url":"https://insights.sbomify.com/CVE-2021-20680/"}