CVE-2026-41845 | Spring Framework Cross-site Scripting via JavaScriptUtils

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.

Published: 2026-06-09 Last update: 2026-06-11 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-41845 is rated Low Risk (30.5/100): CVSS High severity, with low exploitation likelihood (EPSS 0.16%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-41845

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.03% 0.16% +0.13%
2 2026-06-09 0.03%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-41845

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.1 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 4.2 [email protected]
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]

Weakness enumeration for CVE-2026-41845

GitHub Security Advisory for CVE-2026-41845

GHSA-3chg-m5w7-qfv5 · Severity: high — Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript...

OS Trackers for CVE-2026-41845

vendor priority summary link
debian unimportant CVE-2026-41845 unimportant priority: Debian including 1 source packages (libspring-java), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. https://security-tracker.debian.org/tracker/CVE-2026-41845
ubuntu medium CVE-2026-41845 medium priority: Ubuntu including 1 source packages (libspring-java), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, resolute, trusty, upstream): needs-triage 8. https://ubuntu.com/security/CVE-2026-41845

Affected software / configurations for CVE-2026-41845

Vendor Product Version Raw CPE
vmware spring_framework >= 5.3.0, < 5.3.49 cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
vmware spring_framework >= 6.1.0, < 6.1.28 cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
vmware spring_framework >= 6.2.0, < 6.2.19 cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*
vmware spring_framework >= 7.0.0, < 7.0.8 cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*

References for CVE-2026-41845

cvelogic Threat Intelligence