{"id":"CVE-2025-22235","aliases":[],"url":"https://o3.security/vulnerability/CVE-2025-22235","summary":"Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed","details":"EndpointRequest.to() creates a matcher for null/** if the actuator endpoint, for which the EndpointRequest has been created, is disabled or not exposed.\n\nYour application may be affected by this if all the following conditions are met:\n\n  *  You use Spring Security\n  *  EndpointRequest.to() has been used in a Spring Security chain configuration\n  *  The endpoint which EndpointRequest references is disabled or not exposed via web\n  *  Your application handles requests to /null and this path needs protection\n\n\nYou are not affected if any of the following is true:\n\n  *  You don't use Spring Security\n  *  You don't use EndpointRequest.to()\n  *  The endpoint which EndpointRequest.to() refers to is enabled and is exposed\n  *  Your application does not handle requests to /null or this path does not need protection","published":"2025-04-28T09:31:53Z","modified":"2026-09-10T03:50:24.246697135Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot","fixedVersion":"3.3.11"},{"ecosystem":"Maven","name":"org.springframework.boot:spring-boot","fixedVersion":"3.4.5"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22235"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-boot"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250516-0010"},{"type":"WEB","url":"https://spring.io/security/cve-2025-22235"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-10T03:50:24.246697135Z"}}