Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
Spring Spring Framework
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Spring Framework是Spring开源的一款应用开发框架。 Spring Framework 7.0.0至7.0.7版本、6.2.0至6.2.18版本、6.1.0至6.1.27版本和5.3.0至5.3.48版本存在跨站脚本漏洞,该漏洞源于JavaScriptUtils.javaScriptEscape()转义不当,可能导致浏览器中JavaScript代码注入,从而引发跨站脚本漏洞。

CVSS 7.1 · High EPSS 0.16% · P6

Affected Version Matrix 4

VendorProduct Version RangeStatus
Spring Spring Framework 7.0.0< 7.0.7.1 affected
6.2.0< 6.2.18.1 affected
6.1.0< 6.1.28 affected
5.3.0< 5.3.49 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-41845

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Spring Framework Cross-site Scripting via JavaScriptUtils
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Spring Framework 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Spring Framework是Spring开源的一款应用开发框架。 Spring Framework 7.0.0至7.0.7版本、6.2.0至6.2.18版本、6.1.0至6.1.27版本和5.3.0至5.3.48版本存在跨站脚本漏洞,该漏洞源于JavaScriptUtils.javaScriptEscape()转义不当,可能导致浏览器中JavaScript代码注入,从而引发跨站脚本漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Spring Spring Framework 7.0.0 ~ 7.0.7.1 -

II. Public POCs for CVE-2026-41845

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-41845

登录查看更多情报信息。

Vendor Advisories for CVE-2026-41845 (1)

Same Patch Batch · Spring · 2026-06-09 · 51 CVEs total

CVE-2026-41717 8.1 HIGH Spring Data MongoDB - SpEL Expression Injection via Annotated Query Parameter Binding
CVE-2026-41732 8.1 HIGH In Spring for Apache Pulsar, overly broad trusted-package matching in header mapper expose
CVE-2026-41855 8.1 HIGH Spring Framework Unsafe Deserialization via Jackson JMS Converters
CVE-2026-41729 8.1 HIGH Spring Data REST SpEL Injection via Map Key in JSON Patch
CVE-2026-41731 8.1 HIGH In Spring for Apache Kafka, overly broad trusted-package matching in header mappers expose
CVE-2026-41003 7.6 HIGH Unencoded HTML Outputs in Spring Security May Allow Cross-Site Scripting
CVE-2026-41716 7.5 HIGH Spring Data web support unbounded negative-result cache keyed on attacker-supplied propert
CVE-2026-40984 7.5 HIGH Micrometer HTTP server instrumentations DoS vulnerability
CVE-2026-41007 7.5 HIGH Spring HATEOAS heap exhaustion through unbounded internal caching
CVE-2026-41850 7.5 HIGH Spring Framework Algorithmic Denial of Service via SpEL Expressions
CVE-2026-40983 7.5 HIGH Micrometer gRPC server instrumentation DoS vulnerability
CVE-2026-40988 7.5 HIGH Unbounded DEFLATE Inflation in SAML 2.0 Service Provider
CVE-2026-41006 7.5 HIGH Spring HATEOAS Collection+JSON/UBER deserializers do not honor Jackson configuration
CVE-2026-41695 7.5 HIGH Denial of Service in Spring Data Commons Property Path Resolution
CVE-2026-41728 7.5 HIGH Spring Data REST JSON Patch bypasses Jackson read-only property protection on nested objec
CVE-2026-41849 7.5 HIGH Spring Framework Denial of Service via Integer Overflow in SpEL Expressions
CVE-2026-41842 7.5 HIGH Spring Framework Denial of Service via Versioned Resources in Spring MVC and WebFlux
CVE-2026-41720 7.4 HIGH Authentication Bypass with Empty Password in Spring LDAP
CVE-2026-40993 7.3 HIGH Unfiltered Java Native Deserialization of SAML 2.0 Asserting Party Credentials BLOB Databa
CVE-2026-47838 6.8 MEDIUM Unauthorized User Impersonation when Using X.509 Client Certificates

Showing top 20 of 51 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-41845

No comments yet


Leave a comment