{"answers":{"affected":"2 open source packages ship an affected version, including org.springframework:spring-web. It affects 1 product.","exploited":"There is no known exploitation of CVE-2013-6430 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring-web to 3.2.2.RELEASE or later.","what":"CVE-2013-6430 is a medium-severity cross-site scripting vulnerability in Pivotal Spring MVC, published on 10 Jan 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-2013-6430 and fix it if it is affected.\n\nWhat it is: CVE-2013-6430 is a medium-severity cross-site scripting vulnerability in Pivotal Spring MVC, published on 10 Jan 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-2013-6430 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring-web (Maven): affected all versions; fixed in 3.2.2.RELEASE\n- org.springframework:spring-web (Maven): affected all versions; fixed in 3.2.2.RELEASE\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-2013-6430/ (Markdown: https://insights.sbomify.com/CVE-2013-6430/index.md)","id":"CVE-2013-6430","markdown":"https://insights.sbomify.com/CVE-2013-6430/index.md","name":"CVE-2013-6430","record":{"aliases":["DEBIAN-CVE-2013-6430","GHSA-xjrf-8x4f-43h4"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring MVC framework","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary scripts via improper escaping of Unicode characters in Spring MVC JavaScript utilities.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"spring_framework","vendor":"pivotal_software"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/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":"The JavaScriptUtils.javaScriptEscape method in web/util/JavaScriptUtils.java in Spring MVC in Spring Framework before 3.2.2 does not properly escape certain characters, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a (1) line separator or (2) paragraph separator Unicode character or (3) left or (4) right angle bracket.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper Neutralization of Input During Web Page Generation in Spring Framework","id":"CVE-2013-6430","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2013"},"n_packages":2,"n_references":3,"next":{"headline":"Null dereference in n/a","id":"CVE-2013-6431"},"packages":[{"ecosystem":"Maven","fixed":["3.2.2.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework:spring-web","purl":null,"source":"GHSA-xjrf-8x4f-43h4"},{"ecosystem":"Maven","fixed":["3.2.2.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework:spring-web","purl":"pkg:maven/org.springframework/spring-web","source":"GHSA-xjrf-8x4f-43h4"}],"prev":{"headline":"Cross-Site Request Forgery in Spring Framework","id":"CVE-2013-6429"},"products":["Spring MVC"],"published":"2020-01-10","related":[{"cvss_score":8.8,"headline":"Improper Restriction of XML External Entity Reference in Spring Framework","id":"CVE-2014-0225","kev_date_added":null,"published":"2017-05-25"},{"cvss_score":7.5,"headline":"Spring Security and Spring Framework may not recognize certain paths that should be protected","id":"CVE-2016-5007","kev_date_added":null,"published":"2017-05-25"},{"cvss_score":7.5,"headline":"Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized","id":"CVE-2016-9878","kev_date_added":null,"published":"2016-12-29"},{"cvss_score":6.8,"headline":"Cross-Site Request Forgery in Spring Framework","id":"CVE-2013-6429","kev_date_added":null,"published":"2014-01-26"},{"cvss_score":5,"headline":"Moderate severity vulnerability that affects org.springframework:spring-core","id":"CVE-2015-0201","kev_date_added":null,"published":"2015-03-10"},{"cvss_score":5,"headline":"Improper Limitation of a Pathname to a Restricted Directory in Spring Framework","id":"CVE-2014-3578","kev_date_added":null,"published":"2015-02-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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-06","vendors":["Pivotal"]},"summary":"Remote attackers can execute arbitrary scripts via improper escaping of Unicode characters in Spring MVC JavaScript utilities.","url":"https://insights.sbomify.com/CVE-2013-6430/"}