{"answers":{"affected":"8 open source packages ship an affected version, including org.springframework:spring-websocket.","exploited":"There is no known exploitation of CVE-2025-41254 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring-websocket to 6.2.12 or later.","what":"CVE-2025-41254 is a medium-severity vulnerability in VMware Spring Framework, published on 16 Oct 2025. 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-2025-41254 and fix it if it is affected.\n\nWhat it is: CVE-2025-41254 is a medium-severity vulnerability in VMware Spring Framework, published on 16 Oct 2025. 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-2025-41254 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring-websocket (Maven): affected all versions up to 5.3.39; no fix listed\n- org.springframework:spring-websocket (Maven): affected all versions up to 5.3.39; no fix listed\n- org.springframework:spring-websocket (Maven): affected from 6.0.0 up to 6.0.23; no fix listed\n- org.springframework:spring-websocket (Maven): affected from 6.0.0 up to 6.0.23; no fix listed\n- org.springframework:spring-websocket (Maven): affected from 6.1.0 up to 6.1.21; no fix listed\n- org.springframework:spring-websocket (Maven): affected from 6.1.0 up to 6.1.21; no fix listed\n- org.springframework:spring-websocket (Maven): affected from 6.2.0; fixed in 6.2.12\n- org.springframework:spring-websocket (Maven): affected from 6.2.0; fixed in 6.2.12\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-2025-41254/ (Markdown: https://insights.sbomify.com/CVE-2025-41254/index.md)","id":"CVE-2025-41254","markdown":"https://insights.sbomify.com/CVE-2025-41254/index.md","name":"CVE-2025-41254","record":{"aliases":["CLEANSTART-2026-KB50222","CLSA-2025-1761523598","CLSA-2025-1761523599","CLSA-2026-1773015249","CLSA-2026-1792115364","DEBIAN-CVE-2025-41254","ECHO-14e2-24d9-5f88","GHSA-7fch-4f2f-jcgm","ROOT-APP-MAVEN-CVE-2025-41254","UBUNTU-CVE-2025-41254"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring Framework","requires_auth":"none","summary":"Attackers can send unauthorized messages in STOMP over WebSocket applications due to a CSRF vulnerability in Spring Framework.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"STOMP over WebSocket applications may be vulnerable to a security bypass that allows an attacker to send unauthorized messages.\n\nAffected Spring Products and VersionsSpring Framework:\n\n  *  6.2.0 - 6.2.11\n  *  6.1.0 - 6.1.23\n  *  6.0.x - 6.0.29\n  *  5.3.0 - 5.3.45\n  *  Older, unsupported versions are also affected.\n\nMitigationUsers of affected versions should upgrade to the corresponding fixed version.\n\nAffected version(s)Fix versionAvailability6.2.x6.2.12OSS6.1.x6.1.24 Commercial https://enterprise.spring.io/ 6.0.xN/A Out of support https://spring.io/projects/spring-framework#support 5.3.x5.3.46 Commercial https://enterprise.spring.io/ No further mitigation steps are necessary.\n\nCreditThis vulnerability was discovered and responsibly reported by Jannis Kaiser.","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 STOMP CSRF Vulnerability","id":"CVE-2025-41254","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"csrf","year":"2025"},"n_packages":8,"n_references":2,"next":{"headline":"Cyberduck and Mountain Duck - Improper Certificate Store Handling","id":"CVE-2025-41255"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["5.3.39"],"package":"org.springframework:spring-websocket","purl":null,"source":"GHSA-7fch-4f2f-jcgm"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["5.3.39"],"package":"org.springframework:spring-websocket","purl":"pkg:maven/org.springframework/spring-websocket","source":"GHSA-7fch-4f2f-jcgm"},{"ecosystem":"Maven","fixed":[],"introduced":["6.0.0"],"last_affected":["6.0.23"],"package":"org.springframework:spring-websocket","purl":null,"source":"GHSA-7fch-4f2f-jcgm"},{"ecosystem":"Maven","fixed":[],"introduced":["6.0.0"],"last_affected":["6.0.23"],"package":"org.springframework:spring-websocket","purl":"pkg:maven/org.springframework/spring-websocket","source":"GHSA-7fch-4f2f-jcgm"},{"ecosystem":"Maven","fixed":[],"introduced":["6.1.0"],"last_affected":["6.1.21"],"package":"org.springframework:spring-websocket","purl":null,"source":"GHSA-7fch-4f2f-jcgm"},{"ecosystem":"Maven","fixed":[],"introduced":["6.1.0"],"last_affected":["6.1.21"],"package":"org.springframework:spring-websocket","purl":"pkg:maven/org.springframework/spring-websocket","source":"GHSA-7fch-4f2f-jcgm"},{"ecosystem":"Maven","fixed":["6.2.12"],"introduced":["6.2.0"],"last_affected":[],"package":"org.springframework:spring-websocket","purl":null,"source":"GHSA-7fch-4f2f-jcgm"},{"ecosystem":"Maven","fixed":["6.2.12"],"introduced":["6.2.0"],"last_affected":[],"package":"org.springframework:spring-websocket","purl":"pkg:maven/org.springframework/spring-websocket","source":"GHSA-7fch-4f2f-jcgm"}],"prev":{"headline":"Spring Cloud Gateway Webflux SpEL Injection Vulnerability Allowing Exposure of Environment Variables","id":"CVE-2025-41253"},"products":["Spring Framework"],"published":"2025-10-16","related":[],"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":"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":"2025-10-16","vendors":["VMware"]},"summary":"Attackers can send unauthorized messages in STOMP over WebSocket applications due to a CSRF vulnerability in Spring Framework.","url":"https://insights.sbomify.com/CVE-2025-41254/"}