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
Published: 2026-08-27
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

References
History

Thu, 27 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Security
Weaknesses CWE-79
Vendors & Products Spring
Spring spring Security

Thu, 27 Aug 2026 06:15:00 +0000

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'}


Subscriptions

Spring Spring Security
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-27T05:21:29.496Z

Reserved: 2026-05-20T10:00:58.694Z

Link: CVE-2026-47877

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T06:17:17.490

Modified: 2026-08-27T06:17:17.490

Link: CVE-2026-47877

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T07:30:18Z

Weaknesses
  • CWE-79

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