CVE-2026-47877

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

Published Aug 27, 2026 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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

Analysis

AI-generated

Technical impact

Spring Security Authorization Server renders user‑controlled values in its default consent page without encoding them as HTML entities, enabling an attacker to inject and execute arbitrary JavaScript when the page is viewed. This flaw permits an attacker to compromise the browser session, steal cookies or tokens, and potentially deface or manipulate other users’ interactions with the authorization server. The vulnerability is a form of cross‑site scripting that can affect confidentiality, integrity, and functional availability of the authorization process. The attack vector is web‑based; an attacker who can influence the resources requested by an authenticated user can embed malicious payloads into the printed values and have them evaluated in the user’s browser.

Affected Systems

The vulnerability impacts Spring Security releases 7.0.0 through 7.0.6 and 7.1.0.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity, and the absence of an EPSS score and KEV listing suggests that exploitation has not yet been widely reported. Nonetheless, the flaw allows arbitrary script execution within the consent page’s context, which makes it a valuable vector for attackers to hijack sessions or deliver phishing attacks. Without an official patch or workaround provided, the safest assumption is that the vulnerability can be exploited by any party able to influence the input values that the consent page displays.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Spring Security to 7.0.7 or later versions that have addressed default consent page rendering.
  • If immediate upgrade is not feasible, replace the default consent page with a custom implementation that applies proper HTML entity encoding to all user‑controlled data.
  • Add content‑security‑policy headers to the consent page to restrict script execution, mitigating potential XSS impact until a patch is applied.

Generated by OpenCVE AI on August 27, 2026 at 07:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Security
CPEs cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Security
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Spring
Spring spring Security
Weaknesses CWE-79
Vendors & Products Spring
Spring spring Security
Type Values Removed Values Added
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
Title Spring Security Authorization Server Default Consent Page is vulnerable to Cross-Site Scripting (XSS)
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Aug 27, 2026, 2:43 PM
Reserved
May 20, 2026, 10:00 AM
Status
Analyzed
Published
Aug 27, 2026, 6:17 AM
Modified
Sep 2, 2026, 3:23 PM