{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2021-20994 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-20994 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-20994 is a high-severity cross-site scripting vulnerability in WAGO 0852-0303, published on 13 May 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-20994 and fix it if it is affected.\n\nWhat it is: CVE-2021-20994 is a high-severity cross-site scripting vulnerability in WAGO 0852-0303, published on 13 May 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-20994 in the wild and no public exploit code.\n\nAffected product: WAGO 0852-0303. 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-20994/ (Markdown: https://insights.sbomify.com/CVE-2021-20994/index.md)","id":"CVE-2021-20994","markdown":"https://insights.sbomify.com/CVE-2021-20994/index.md","name":"CVE-2021-20994","record":{"aliases":["GHSA-pvcx-jpfw-6gm6"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Managed Switch","requires_auth":"none","summary":"An attacker can inject malicious code into the web management interface of WAGO managed switches by tricking users into clicking a link.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERTVDE","cpe":[{"product":"0852-0303_firmware","vendor":"wago"},{"product":"0852-1305\\/000-001_firmware","vendor":"wago"},{"product":"0852-1305_firmware","vendor":"wago"},{"product":"0852-1505\\/000-001_firmware","vendor":"wago"},{"product":"0852-1505_firmware","vendor":"wago"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"In multiple managed switches by WAGO in different versions an attacker may trick a legitimate user to click a link to inject possible malicious code into the Web-Based Management.","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":"WAGO: Managed Switches: Reflected Cross-site Scripting","id":"CVE-2021-20994","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"WAGO: Managed Switches: Storage of user credentials in a cookie","id":"CVE-2021-20995"},"packages":[],"prev":{"headline":"WAGO: Managed Switches: Exposure of sensitive information through directory listing","id":"CVE-2021-20993"},"products":["0852-0303","0852-1305","0852-1305/000-001","0852-1505","0852-1505/000-001"],"published":"2021-05-13","related":[{"cvss_score":10,"headline":"WAGO: Managed Switches: Unauthorized creation of user accounts","id":"CVE-2021-20998","kev_date_added":null,"published":"2021-05-13"},{"cvss_score":7.5,"headline":"WAGO: Managed Switches: Unauthorized access to password hashes","id":"CVE-2021-20997","kev_date_added":null,"published":"2021-05-13"},{"cvss_score":5.3,"headline":"WAGO: Managed Switches: Exposure of sensitive information through directory listing","id":"CVE-2021-20993","kev_date_added":null,"published":"2021-05-13"},{"cvss_score":5.3,"headline":"WAGO: Managed Switches: Storage of user credentials in a cookie","id":"CVE-2021-20995","kev_date_added":null,"published":"2021-05-13"},{"cvss_score":5.3,"headline":"WAGO: Managed Switches: Unsecure Cookie settings","id":"CVE-2021-20996","kev_date_added":null,"published":"2021-05-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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["WAGO"]},"summary":"An attacker can inject malicious code into the web management interface of WAGO managed switches by tricking users into clicking a link.","url":"https://insights.sbomify.com/CVE-2021-20994/"}