{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-6313 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-6313 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-6313 is a medium-severity cross-site scripting vulnerability in Sap Netweaver Application Server Java, published on 9 Sep 2020. 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-2020-6313 and fix it if it is affected.\n\nWhat it is: CVE-2020-6313 is a medium-severity cross-site scripting vulnerability in Sap Netweaver Application Server Java, published on 9 Sep 2020. 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-2020-6313 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-2020-6313/ (Markdown: https://insights.sbomify.com/CVE-2020-6313/index.md)","id":"CVE-2020-6313","markdown":"https://insights.sbomify.com/CVE-2020-6313/index.md","name":"CVE-2020-6313","record":{"aliases":["GHSA-4xqv-wh6m-q95v"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP NetWeaver AS JAVA","requires_auth":"low_privilege","summary":"Authenticated users can inject malicious JavaScript into SAP NetWeaver XML Forms, leading to stored XSS attacks against victims.","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"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"SAP NetWeaver Application Server JAVA(XML Forms) versions 7.30, 7.31, 7.40, 7.50 does not sufficiently encode user controlled inputs, which allows an authenticated User with special roles to store malicious content, that when accessed by a victim, can perform malicious actions by executing JavaScript, leading to Stored Cross-Site Scripting.","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 JAVA (XML Forms)","id":"CVE-2020-6313","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sap:netweaver_application_server_java","products":["sap:netweaver_application_server_java"],"type":"xss","year":"2020"},"n_packages":0,"n_references":2,"next":{"headline":"Denial of service in SAP 3D Visual Enterprise Viewer","id":"CVE-2020-6314"},"packages":[],"prev":{"headline":"Cross-site scripting in SAP BusinessObjects Business Intelligence Platform (Web Intelligence HTML interface)","id":"CVE-2020-6312"},"products":["SAP NetWeaver AS JAVA (XML Forms)"],"published":"2020-09-09","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-04","vendors":["SAP SE"]},"summary":"Authenticated users can inject malicious JavaScript into SAP NetWeaver XML Forms, leading to stored XSS attacks against victims.","url":"https://insights.sbomify.com/CVE-2020-6313/"}