CVE-2026-59316

Spring 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 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

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
References
History
Type Values Removed Values Added
First Time appeared Broadcom
Broadcom spring Authorization Server
CPEs cpe:2.3:a:broadcom:spring_authorization_server:*:*:*:*:*:*:*:*
Vendors & Products Broadcom
Broadcom spring Authorization Server
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 Authorization Server
Vendors & Products Spring
Spring spring Authorization Server
Type Values Removed Values Added
Weaknesses CWE-79
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Aug 28, 2026, 10:47 PM
Reserved
Jul 4, 2026, 6:13 PM
Status
Analyzed
Published
Aug 27, 2026, 8:17 PM
Modified
Aug 31, 2026, 11:39 PM