{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-59281", "assignerOrgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d", "state": "PUBLISHED", "assignerShortName": "vmware", "dateReserved": "2026-07-04T18:13:26.297Z", "datePublished": "2026-08-27T17:57:37.157Z", "dateUpdated": "2026-08-28T18:56:23.590Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d", "shortName": "vmware", "dateUpdated": "2026-08-27T17:57:37.157Z" }, "title": "Spring Framework Cross-site Scripting via EscapedErrors", "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "type": "CWE" } ] } ], "impacts": [ { "descriptions": [ { "lang": "en", "value": "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." } ] } ], "affected": [ { "vendor": "Spring", "product": "Spring Framework", "versions": [ { "status": "affected", "version": "7.0.0", "lessThanOrEqual": "7.0.8", "versionType": "custom" }, { "status": "affected", "version": "6.2.0", "lessThanOrEqual": "6.2.19", "versionType": "custom" }, { "status": "affected", "version": "6.1.0", "lessThanOrEqual": "6.1.28", "versionType": "custom" }, { "status": "affected", "version": "6.0.0", "lessThanOrEqual": "6.0.30", "versionType": "custom" }, { "status": "affected", "version": "5.3.0", "lessThanOrEqual": "5.3.49", "versionType": "custom" }, { "status": "affected", "version": "0", "lessThanOrEqual": "5.2.25.RELEASE", "versionType": "custom" } ], "defaultStatus": "unaffected" } ], "descriptions": [ { "lang": "en", "value": "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.\nSpring Framework 7.0.0 - 7.0.8\nSpring Framework 6.2.0 - 6.2.19\nSpring Framework 6.1.0 - 6.1.28\nSpring Framework 6.0.0 - 6.0.30\nSpring Framework 5.3.0 - 5.3.49\nSpring Framework 5.2.25.RELEASE and earlier", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "
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