CVE-2026-41845

HIGH

Spring Framework Cross-site Scripting via JavaScriptUtils

Title source: cna
STIX 2.1

Description

Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code injection in the browser, potentially resulting in a cross-site scripting (XSS) vulnerability. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

References (1)

Core 1

Scores

CVSS v3 7.1
EPSS 0.0016
EPSS Percentile 5.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (5)
Spring/Spring Framework 5.3.0 - 5.3.49
Spring/Spring Framework 6.1.0 - 6.1.28
Spring/Spring Framework 6.2.0 - 6.2.19
Spring/Spring Framework 7.0.0 - 7.0.8
vmware/spring_framework 5.3.0 - 5.3.49
Published Jun 09, 2026
Tracked Since Jun 09, 2026