CVE-2026-41003

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

State
Published
Severity
7.6 High
Published
Jun 9, 2026
Updated
Jun 27, 2026
Reserved
Apr 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.6 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:Nvmware

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)

Affected Products

ProductVersions
Spring SecuritySpring
  • 5.7.0 to before 5.7.24Affected
  • 5.8.0 to before 5.8.26Affected
  • 6.3.0 to before 6.3.17Affected
  • 6.4.0 to before 6.4.17Affected
  • 6.5.0 to before 6.5.10.2Affected
  • 7.0.0 to before 7.0.5.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.