Description
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
Remediation
References
Related Vulnerabilities
Apache Tomcat Improper Encoding or Escaping of Output Vulnerability (CVE-2025-31651)
Joomla Incorrect Authorization Vulnerability (CVE-2023-23751)
WordPress Plugin WP-Recall-Registration, Profile, Commerce & More Security Bypass (16.26.6)
WebLogic CVE-2020-2869 Vulnerability (CVE-2020-2869)
Moodle Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2013-2243)