Skip to content
6.1 Medium

CVE-2026-59281 Spring MVC and WebFlux applications that obtain a data-binding Errors instance with HTML escaping enabled and then…

Description

Spring MVC and WebFlux applications that obtain a data-binding Errors instance with HTML escaping enabled and then render field errors using the no-argument Errors.getFieldErrors() or Errors.getFieldError() accessors are vulnerable to arbitrary HTML/JavaScript code injection, potentially resulting in a reflected cross-site scripting (XSS) vulnerability. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlier

Affected products and versions

Product Affected versions Fixed in
Spring Framework 7.0 7.0.0 → 7.0.8 No fix stated
Spring Framework 6.2 6.2.0 → 6.2.19 No fix stated
Spring Framework 6.1 6.1.0 → 6.1.28 No fix stated
Spring Framework 6.0 6.0.0 → 6.0.30 No fix stated
Spring Framework 5.3 5.3.0 → 5.3.49 No fix stated
Spring Framework 5.2 earliest → 5.2.25.RELEASE No fix stated

References

Timeline

  1. Published
  2. Last modified
The 45 CVEs of Spring Framework →
Track this CVE