Skip to content
Fencer Vulns
high 7.1

CVE-2026-41845 json

Spring Framework Cross-site Scripting via JavaScriptUtils

published 2026-06-09 5 mo ago modified 2026-09-10 1 mo ago also GHSA-3chg-m5w7-qfv5 , EUVD-2026-35333

cvss
7.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 5%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.springframework:spring-webmvc 6.2.19, 7.0.8
  • Spring Spring Framework 5.3.49, 6.1.28, 6.2.18.1, 7.0.7.1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-41845 updated cvss 7.1

org.springframework: Spring Framework: Cross-site scripting (XSS) via incorrect JavaScript escaping

  • Red Hat OpenShift Developer Tools and Services spring-web 6.2.14 Red Hat OpenShift Dev Spaces spring-web 6.2.14
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
5 mo ago

Exploit prediction

0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.springframework:spring-webmvc
>=7.0.0, <7.0.8
>=6.2.0, <6.2.19
>=6.1.0, <=6.1.21
<=5.3.39
7.0.8
6.2.19

Affected products

  • Spring Spring Framework

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.