CVE-2026-47877 Spring Security Authorization Server Default Consent Page is vulnerable to Cross-Site Scripting (XSS)

High 8.2 Published Updated

Attackers can inject malicious scripts into the default consent page, potentially stealing user sessions or executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-47877?

CVE-2026-47877 is a high-severity cross-site scripting vulnerability in Spring Security, published on 27 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Spring Security Authorization Server's default consent page renders user-controlled values without HTML entity encoding. Spring Security 7.1.0 Spring Security 7.0.0 - 7.0.6

Weakness: CWE-79

Which versions are affected by CVE-2026-47877?

It affects 1 product.

Products include Vmware Spring Security.

How do I fix CVE-2026-47877?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-47877 being exploited?

There is no known exploitation of CVE-2026-47877 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2026-ZX09100, GHSA-4pq7-67mc-3rgx.

Is CVE-2026-47877 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free