{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-27601 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-27601 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-27601 is a medium-severity cross-site scripting vulnerability in Sap Netweaver Application Server Java, published on 13 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-27601 and fix it if it is affected.\n\nWhat it is: CVE-2021-27601 is a medium-severity cross-site scripting vulnerability in Sap Netweaver Application Server Java, published on 13 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-27601 in the wild and no public exploit code.\n\nAffected product: Sap Netweaver Application Server Java. 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-27601/ (Markdown: https://insights.sbomify.com/CVE-2021-27601/index.md)","id":"CVE-2021-27601","markdown":"https://insights.sbomify.com/CVE-2021-27601/index.md","name":"CVE-2021-27601","record":{"aliases":["GHSA-hfcm-37qj-j7cf"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP NetWeaver AS Java","requires_auth":"low_privilege","summary":"An authorized attacker can store malicious files leading to Cross-Site Scripting, allowing data reading and modification when victims open the files.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"netweaver_application_server_java","vendor":"sap"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/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"}],"description":"SAP NetWeaver AS Java (Applications based on HTMLB for Java) allows a basic-level authorized attacker to store a malicious file on the server. When a victim tries to open this file, it results in a Cross-Site Scripting (XSS) vulnerability and the attacker can read and modify data. However, the attacker does not have control over kind or degree.","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 SAP NetWeaver AS for Java (Applications based on HTMLB for Java)","id":"CVE-2021-27601","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sap:netweaver_application_server_java","products":["sap:netweaver_application_server_java"],"type":"xss","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Code injection in SAP Commerce","id":"CVE-2021-27602"},"packages":[],"prev":{"headline":"Cross-site scripting in SAP Manufacturing Execution (System Rules)","id":"CVE-2021-27600"},"products":["SAP NetWeaver AS for Java (Applications based on HTMLB for Java)"],"published":"2021-04-13","related":[{"cvss_score":10,"headline":"SAP NetWeaver Missing Authentication for Critical Function","id":"CVE-2020-6287","kev_date_added":"2021-11-03","published":"2020-07-14"},{"cvss_score":10,"headline":"SAP NetWeaver Remote Code Execution","id":"CVE-2010-5326","kev_date_added":"2021-11-03","published":"2016-05-13"},{"cvss_score":9.8,"headline":"SAP NetWeaver SQL Injection","id":"CVE-2016-2386","kev_date_added":"2022-06-09","published":"2016-02-16"},{"cvss_score":7.5,"headline":"SAP NetWeaver Directory Traversal","id":"CVE-2017-12637","kev_date_added":"2025-03-19","published":"2017-08-07"},{"cvss_score":7.5,"headline":"SAP NetWeaver Directory Traversal","id":"CVE-2016-3976","kev_date_added":"2021-11-03","published":"2016-04-07"},{"cvss_score":6.5,"headline":"SAP NetWeaver XML External Entity (XXE)","id":"CVE-2016-9563","kev_date_added":"2021-11-03","published":"2016-11-23"},{"cvss_score":5.3,"headline":"SAP NetWeaver Information Disclosure","id":"CVE-2016-2388","kev_date_added":"2022-06-09","published":"2016-02-16"}],"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":["SAP SE"]},"summary":"An authorized attacker can store malicious files leading to Cross-Site Scripting, allowing data reading and modification when victims open the files.","url":"https://insights.sbomify.com/CVE-2021-27601/"}