CVE-2026-41003

Unencoded HTML Outputs in Spring Security May Allow Cross-Site Scripting

MEDIUM
5.4
CVSS Score
Published: June 9, 2026 at 11:46 PM UTC
Updated: July 23, 2026 at 07:32 PM UTC
2 products affected across 2 vendorsSpring SecuritySpring Security

Using Spring Security by Spring?

Get instant alerts when new vulnerabilities affect Spring Security - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

An attacker able to influence values in RelyingPartyRegistration may be able to run arbitrary code on HTML forms generated by Spring Security filters. Affected versions: Spring Security 5.7.0 through 5.7.23; 5.8.0 through 5.8.25; 6.3.0 through 6.3.16; 6.4.0 through 6.4.16; 6.5.0 through 6.5.10; 7.0.0 through 7.0.5.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.7.0 ≤ v < 5.7.245.8.0 ≤ v < 5.8.266.3.0 ≤ v < 6.3.176.4.0 ≤ v < 6.4.176.5.0 ≤ v < 6.5.10.27.0.0 ≤ v < 7.0.5.1
Affected range stops below 5.7.24, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.8.26, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.3.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.5.10.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.5.1, so it looks safe — our inference, not a vendor statement
5.7.0 ≤ v < 5.7.245.8.0 ≤ v < 5.8.266.3.0 ≤ v < 6.3.176.4.0 ≤ v < 6.4.176.5.0 ≤ v < 6.5.10.27.0.0 ≤ v < 7.0.5.15.7.05.8.06.3.06.4.06.5.07.0.0
Affected range stops below 5.7.24, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.8.26, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.3.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.5.10.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.5.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (1)

Vendor Advisory
Source: cverecord
https://spring.io/security/cve-2026-41003

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card