Skip to content
Noroxi
CVE-2026-41003· NVD / CVE Program· CNA vmware

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

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.

MediumCVSS 5.4 · v3.1—No exploit Fix available
Published
Jun 9, 2026
Updated
Jul 23, 2026
EPSS
0.3% · 15th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

21

Monitor

Low priority for now.

CVSS
21 / 40 · 5.4 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
5.4
CNA · vmware
7.6
2.2 point gap

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
vmwarespring security

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • vmware spring security5.7.0 and later · before 5.7.24
  • vmware spring security5.8.0 and later · before 5.8.26
  • vmware spring security6.3.0 and later · before 6.3.17
  • vmware spring security6.4.0 and later · before 6.4.17
  • vmware spring security6.5.0 and later · before 6.5.10.2
  • vmware spring security7.0.0 and later · before 7.0.5.1

Versions reported by the vendor

Affected version ranges reported by the assigning authority (vmware). Independent of NVD's CPE analysis and usually ahead of it.

  • Spring Spring Security

    • 5.7.0 and later · before 5.7.24affected
    • 5.8.0 and later · before 5.8.26affected
    • 6.3.0 and later · before 6.3.17affected
    • 6.4.0 and later · before 6.4.17affected
    • 6.5.0 and later · before 6.5.10.2affected
    • 7.0.0 and later · before 7.0.5.1affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Mavenorg.springframework.security:spring-security-saml2-service-providerfrom 5.8.0 · up to and including 5.8.25—
Mavenorg.springframework.security:spring-security-saml2-service-providerfrom 6.3.0 · up to and including 6.3.16—
Mavenorg.springframework.security:spring-security-saml2-service-providerfrom 6.4.0 · up to and including 6.4.16—
Mavenorg.springframework.security:spring-security-saml2-service-providerfrom 6.5.0 · before 6.5.116.5.11
Mavenorg.springframework.security:spring-security-saml2-service-providerfrom 7.0.0 · before 7.0.67.0.6
Mavenorg.springframework.security:spring-security-saml2-service-providerup to and including 5.7.23—

Other highest-scoring records for the same primary product.

  • CVE-2022-22978In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can easily be misconfigure
    43Plan
  • CVE-2023-34034Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Sp
    40Plan
  • CVE-2022-31692Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass via forward or includ
    40Plan
  • CVE-2014-3527When using the CAS Proxy ticket authentication from Spring Security 3.1 to 3.2.4 a malicious CAS Service could trick another CAS Service int
    40Plan
  • CVE-2026-59270Spring Security embedded UnboundID LDAP server exposes well-known administrative bind DN on all network interfaces
    36Monitor
  • CVE-2026-22732Under Some Conditions Spring Security HTTP Headers Are not Written
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Maven:org.springframework.security:spring-security-saml2-service-provider6.5.11Package registry (OSV)
Maven:org.springframework.security:spring-security-saml2-service-provider7.0.6Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2026-4787779 days apartSpring Security Authorization Server Default Consent Page is vulnerable to Cross-Site Scripting (XSS)
    24Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

  • CVE-2026-478380 days apartUnauthorized User Impersonation when Using X.509 Client Certificates
    32Monitor
  • CVE-2026-4170777 days apartSpring Security DPoPProofJwtDecoderFactory vulnerable to DPoP Proof Replay
    29Monitor

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

nvd-primary

Root cause

User content is inserted into the page as HTML. The browser interprets the content as code rather than data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
commentEl.innerHTML = comment.body;

Fixed

ts
commentEl.textContent = comment.body;

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records