CVE-2026-41845CWE-79

Spring Framework Cross-site Scripting via JavaScriptUtils

High · published June 9, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
19.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00277 · 19.1th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-06-09T03:50Z
EPSS history
Timeline
  • 09 JUN 03:50Z
    Spring Framework Cross-site Scripting via JavaScriptUtils
    cvelistv5