Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

CVE-2026-41846: CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) in Spring Spring Framework

0
Medium
VulnerabilityCVE-2026-41846cvecve-2026-41846cwe-79
Published: 06/09/2026 (06/09/2026, 03:50:56 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: Spring Framework

Description

A cross-site scripting (XSS) vulnerability exists in Spring Framework's MVC component where user-supplied values in the cssClass, cssErrorClass, or cssStyle attributes of JSP form tags are not properly neutralized. This allows injection of arbitrary HTML or JavaScript code. The vulnerability affects multiple versions of Spring Framework including 5.3.0 through 5.3.48, 6.1.0 through 6.1.27, 6.2.0 through 6.2.18, and 7.0.0 through 7.0.7. The CVSS score is 5.9, indicating a medium severity level. No official patch or remediation guidance is currently provided by the vendor.

CVSS v3.1

Score 5.9medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

Affected software

org.springframework/spring-framework
pkg:maven/org.springframework/spring-framework
Affected versions
=5.3.0=5.3.48=6.1.0=6.1.27=6.2.0=6.2.18=7.0.0=7.0.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/31/2026, 00:13:17 UTC

Technical Analysis

Spring MVC applications that accept user input in the cssClass, cssErrorClass, or cssStyle attributes of JSP form tags do not properly neutralize this input during web page generation, leading to a cross-site scripting (CWE-79) vulnerability. This flaw allows attackers to inject arbitrary HTML or JavaScript code, potentially compromising the confidentiality of user data. The vulnerability affects Spring Framework versions 5.3.0 to 5.3.48, 6.1.0 to 6.1.27, 6.2.0 to 6.2.18, and 7.0.0 to 7.0.7. The CVSS 3.1 base score is 5.9, with network attack vector, high attack complexity, no privileges required, user interaction required, unchanged scope, high confidentiality impact, low integrity impact, and no availability impact. No known exploits in the wild have been reported. The vendor has not yet provided an official fix or remediation level.

Potential Impact

Successful exploitation can lead to injection of arbitrary HTML or JavaScript code in affected Spring MVC applications, potentially resulting in disclosure of sensitive information or session hijacking. The confidentiality impact is high, while integrity impact is low and availability is not affected. Exploitation requires user interaction and has high attack complexity, limiting ease of exploitation.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, developers should avoid accepting untrusted input in the cssClass, cssErrorClass, or cssStyle attributes of JSP form tags or implement manual input validation and output encoding to mitigate injection risks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2026-04-22T06:22:08.200Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a279b32e29bf47b503575c4

Added to database: 06/09/2026, 04:48:50 UTC

Last enriched: 07/31/2026, 00:13:17 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 65

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses