Description
Spring Authorization Server's default consent page renders user-controlled values without HTML entity encoding. When using the DefaultConsentPage, an attacker can craft an OAuth2 authorization request containing a malicious value that is stored server-side and later rendered unencoded in the default consent page presented to the end user.
Spring Authorization Server 1.5.0 - 1.5.8
Spring Authorization Server 1.4.0 - 1.4.11
Published: 2026-08-27
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Spring Authorization Server’s DefaultConsentPage renders user‑controlled values without HTML‑entity encoding, allowing an attacker who can craft an OAuth2 authorization request to embed malicious script. The request value is stored server‑side and later displayed unencoded on the consent page presented to the end user, enabling arbitrary JavaScript execution in the user’s browser. This can lead to session hijacking, token theft, or other client‑side attacks. The weakness is a classic cross‑site scripting flaw.

Affected Systems

The vulnerability affects Spring Authorization Server 1.4.0 through 1.4.11 and 1.5.0 through 1.5.8. All deployments using the DefaultConsentPage template in these version ranges are susceptible. Versions prior to 1.4.0 or later than 1.5.8 are not impacted by this specific issue.

Risk and Exploitability

The CVSS score of 8.2 denotes high severity, but the EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is an OAuth2 client externally issuing an authorization request that includes a malicious value. Exploitation requires the user to view the consent page, but once visible the attacker can run script under the user’s context. The risk is significant for organizations that rely on the default consent page; mitigating actions involve patching to a fixed release or re‑implementing the page with proper encoding.

Generated by OpenCVE AI on August 28, 2026 at 06:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Spring Authorization Server to a fixed release (e.g., 1.5.9 or later) as soon as possible.
  • If an immediate update is impossible, replace or modify the DefaultConsentPage template so that all user‑controlled values are HTML‑entity encoded before rendering.
  • Limit the data passed in OAuth2 authorization requests to only those parameters required by the server and validate or strip any input that could contain script code.
  • Monitor logs for attempts to inject script into authorization requests and treat such events as suspicious activity.

Generated by OpenCVE AI on August 28, 2026 at 06:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Fri, 28 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Authorization Server
Vendors & Products Spring
Spring spring Authorization Server

Fri, 28 Aug 2026 07:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description Spring Authorization Server's default consent page renders user-controlled values without HTML entity encoding. When using the DefaultConsentPage, an attacker can craft an OAuth2 authorization request containing a malicious value that is stored server-side and later rendered unencoded in the default consent page presented to the end user. Spring Authorization Server 1.5.0 - 1.5.8 Spring Authorization Server 1.4.0 - 1.4.11
Title Spring 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 Authorization Server
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-27T18:04:44.963Z

Reserved: 2026-07-04T18:13:57.026Z

Link: CVE-2026-59316

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T20:17:57.667

Modified: 2026-08-27T20:17:57.667

Link: CVE-2026-59316

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T08:00:12Z

Weaknesses
  • CWE-79

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