{"answers":{"affected":"8 open source packages ship an affected version, including org.springframework:spring-webmvc. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41845 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring-webmvc to a fixed version for your release line: 6.2.19 or 7.0.8.","what":"CVE-2026-41845 is a high-severity cross-site scripting vulnerability in Vmware Spring Framework, published on 9 Jun 2026. 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-2026-41845 and fix it if it is affected.\n\nWhat it is: CVE-2026-41845 is a high-severity cross-site scripting vulnerability in Vmware Spring Framework, published on 9 Jun 2026. 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-2026-41845 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring-webmvc (Maven): affected all versions up to 5.3.39; no fix listed\n- org.springframework:spring-webmvc (Maven): affected all versions up to 5.3.39; no fix listed\n- org.springframework:spring-webmvc (Maven): affected from 6.1.0 up to 6.1.21; no fix listed\n- org.springframework:spring-webmvc (Maven): affected from 6.1.0 up to 6.1.21; no fix listed\n- org.springframework:spring-webmvc (Maven): affected from 6.2.0; fixed in 6.2.19\n- org.springframework:spring-webmvc (Maven): affected from 6.2.0; fixed in 6.2.19\n- org.springframework:spring-webmvc (Maven): affected from 7.0.0; fixed in 7.0.8\n- org.springframework:spring-webmvc (Maven): affected from 7.0.0; fixed in 7.0.8\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-2026-41845/ (Markdown: https://insights.sbomify.com/CVE-2026-41845/index.md)","id":"CVE-2026-41845","markdown":"https://insights.sbomify.com/CVE-2026-41845/index.md","name":"CVE-2026-41845","record":{"aliases":["CLEANSTART-2026-UA33426","CLSA-2026-1782781165","CLSA-2026-1785921265","DEBIAN-CVE-2026-41845","ECHO-47e3-731b-02f1","GHSA-3chg-m5w7-qfv5","MINI-7747-66q3-5w65","MINI-8hpr-hm6x-83f6","MINI-9qfr-235g-6jq4","MINI-ch47-79jc-h7fh","MINI-jx53-jf5q-rmhf","MINI-mjxq-jjf4-6vg8","MINI-mp4p-vf7w-vh3v","MINI-mrqf-22jp-hfjx","MINI-mv43-69f2-p9qc","MINI-vx28-5grc-hp4w","ROOT-APP-MAVEN-CVE-2026-41845","UBUNTU-CVE-2026-41845"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java web framework","requires_auth":"none","summary":"Attackers can inject JavaScript via improper escaping in Spring Framework's JavaScriptUtils, leading to cross-site scripting attacks against web applications.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_framework","vendor":"vmware"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code injection in the browser, potentially resulting in a cross-site scripting (XSS) vulnerability.\n\nAffected versions:\nSpring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.","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":"Spring Framework Cross-site Scripting via JavaScriptUtils","id":"CVE-2026-41845","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"vmware:spring_framework","products":["vmware:spring_framework"],"type":"xss","year":"2026"},"n_packages":8,"n_references":1,"next":{"headline":"Spring Framework Cross-site Scripting via JSP Form Tags","id":"CVE-2026-41846"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["5.3.39"],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-3chg-m5w7-qfv5"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["5.3.39"],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-3chg-m5w7-qfv5"},{"ecosystem":"Maven","fixed":[],"introduced":["6.1.0"],"last_affected":["6.1.21"],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-3chg-m5w7-qfv5"},{"ecosystem":"Maven","fixed":[],"introduced":["6.1.0"],"last_affected":["6.1.21"],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-3chg-m5w7-qfv5"},{"ecosystem":"Maven","fixed":["6.2.19"],"introduced":["6.2.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-3chg-m5w7-qfv5"},{"ecosystem":"Maven","fixed":["6.2.19"],"introduced":["6.2.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-3chg-m5w7-qfv5"},{"ecosystem":"Maven","fixed":["7.0.8"],"introduced":["7.0.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-3chg-m5w7-qfv5"},{"ecosystem":"Maven","fixed":["7.0.8"],"introduced":["7.0.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-3chg-m5w7-qfv5"}],"prev":{"headline":"Spring Framework Open Redirect in Spring MVC and WebFlux","id":"CVE-2026-41844"},"products":["Spring Framework"],"published":"2026-06-09","related":[{"cvss_score":9.8,"headline":"Spring Framework Improper Path Limitation in XsltView","id":"CVE-2026-47884","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework Server Sent Event stream corruption while rendering fragments","id":"CVE-2026-47890","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework maxInMemorySize Bypassed in Jaxb2Decoder","id":"CVE-2026-47891","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework Header Predicate Bypass in WebFlux Functional Endpoints","id":"CVE-2026-47892","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Server Sent Event stream corruption in Spring MVC functional web framework","id":"CVE-2026-59313","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Pivotal Spring Framework contains unsafe Java deserialization methods","id":"CVE-2016-1000027","kev_date_added":null,"published":"2020-01-02"},{"cvss_score":9.1,"headline":"Spring Framework Safety Guard Bypass via SpEL Expression Compilation","id":"CVE-2026-59283","kev_date_added":null,"published":"2026-08-27"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-27","vendors":["Spring"]},"summary":"Attackers can inject JavaScript via improper escaping in Spring Framework's JavaScriptUtils, leading to cross-site scripting attacks against web applications.","url":"https://insights.sbomify.com/CVE-2026-41845/"}