Skip to main content

Spring Authorization Server CVE-2026-59316

| EUVDEUVD-2026-67198 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-27 vmware GHSA-5pc3-v4c3-6pv4
8.2
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted OAuth2 authorization request with XSS payload
  2. Delivery
    Malicious value persisted server-side in authorization context
  3. Exploit
    Victim user proceeds through OAuth2 authorization flow
  4. Execution
    DefaultConsentPage renders stored payload without HTML encoding
  5. Persist
    XSS executes in victim's browser
  6. Impact
    Session tokens or credentials exfiltrated to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerable code path is activated only when the application uses Spring Authorization Server's DefaultConsentPage; deployments that have implemented any custom consent page are entirely unaffected. An attacker must be able to submit an OAuth2 authorization request to the server - for public-facing authorization servers this typically requires no authentication, consistent with the PR:N CVSS metric. Exploitation additionally requires that a legitimate user be directed through the OAuth2 consent flow and view the consent page after the malicious request has been stored, satisfying the UI:R constraint. Limiting factors: requiring pre-authenticated users before reaching the consent page, restricting OAuth2 client registration, or deploying a custom consent UI each independently reduce or eliminate the attack surface beyond what the raw CVSS score conveys.

Impact

The CVSS 3.1 score of 8.2 (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N) accurately models the attack surface: no authentication or special network position is required to plant the payload, complexity is low, and the scope change (S:C) reflects JavaScript execution in the victim's browser rather than the server process itself. The primary practical constraint is UI:R - the victim must actively proceed through an OAuth2 authorization flow and view the consent page, limiting opportunistic mass exploitation. EPSS probability data is absent from available intelligence, and the vulnerability does not appear on the CISA KEV catalog, indicating no confirmed active exploitation at time of analysis; no public proof-of-concept code has been identified. Real-world risk is sharply conditioned on DefaultConsentPage usage - organizations that have deployed a custom consent UI are entirely unaffected. Despite the absence of active exploitation signals, the trivial injection mechanics combined with the high confidentiality impact (enabling session token and credential theft via arbitrary script execution in the victim's browser) makes this an urgent remediation priority wherever affected versions and the default consent page coexist.

Exploit ScenarioDerived

An attacker registers or controls an OAuth2 client and submits an authorization request to the vulnerable Spring Authorization Server containing a scope value or client parameter embedding a malicious script payload. When a legitimate user is subsequently redirected through the consent flow, the DefaultConsentPage renders the stored payload as live HTML, causing the attacker's JavaScript to execute in the user's browser and exfiltrate their session cookie or OAuth token to an attacker-controlled endpoint. No proof-of-concept code has been identified, but the exploitation path requires no specialized tooling beyond the ability to submit HTTP requests to the authorization endpoint.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 27, 2026

Stored cross-site scripting in Spring Authorization Server's DefaultConsentPage allows network-accessible, unauthenticated attackers to inject arbitrary JavaScript into the OAuth2 consent screen presented to legitimate users. Affected versions span 1.4.0-1.4.11 and 1.5.0-1.5.8; the attack payload is embedded in a crafted OAuth2 authorization request, persisted server-side, and executed in the victim's browser when they view the consent dialog. No public exploit has been identified at time of analysis, but the low-complexity injection mechanism combined with a CVSS 8.2 base score and high confidentiality impact makes this an urgent remediation target for any deployment relying on the default consent page.

RemediationAI

Consult the vendor advisory at https://spring.io/security/cve-2026-59316 for confirmed patched release versions; exact fixed version numbers are not present in the available intelligence and have not been independently verified. As a workaround, organizations can replace the DefaultConsentPage with a custom consent page implementation that applies proper HTML entity encoding to all user-controlled values before rendering - this eliminates the vulnerable code path entirely and is the recommended interim control where immediate upgrading is not feasible. Restricting who can initiate OAuth2 authorization flows (for example, requiring prior session authentication before the consent page is reachable) reduces exposure but does not eliminate the vulnerability if the DefaultConsentPage remains accessible to any attacker who can submit authorization requests.

Affected VersionsENISA

Spring Authorization Server 1.5.0 ≤1.5.8
Spring Authorization Server 1.4.0 ≤1.4.11

Affected Packages

euvd spring_authorization_server no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Authorization Server (CPE: cpe:2.3:a:spring:spring_authorization_server) is a Spring Security-based implementation of the OAuth 2.1 and OpenID Connect 1.0 specifications, commonly deployed as a standalone authorization server in enterprise Java environments. The vulnerable component is the DefaultConsentPage, which dynamically inserts OAuth2 authorization request parameters - such as requested scope values or client metadata - into an HTML response shown to users for their approval before granting access. The root cause is the absence of HTML entity encoding on attacker-controlled string values prior to rendering, enabling injected markup such as script tags or inline event handlers to be interpreted as executable content by the browser. Although the advisory assigns no formal CWE, this behavior maps precisely to CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the stored variant because the malicious value is persisted in the authorization server before being reflected to the victim.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
vuln.today AI 8.2 HIGH

Network-accessible stored XSS requiring victim interaction (UI:R); no attacker authentication needed (PR:N); scope changes to victim's browser context (S:C) with high confidentiality impact from token theft.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

Spring Authorization Server versions 1.4.0-1.4.11 and 1.5.0-1.5.8 contain a stored cross-site scripting vulnerability in the default OAuth2 consent page that allows unauthenticated attackers to inject malicious JavaScript executed in legitimate users' browsers. Organizations relying on these versions face credential theft, session hijacking, and erosion of user trust in the authentication flow.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable DefaultConsentPage and replace with a custom consent form implementing strict input validation and HTML entity encoding; (2) Deploy Web Application Firewall rules to detect and block OAuth2 authorization requests containing JavaScript payloads or suspicious encoding; (3) Restrict OAuth2 endpoint access via network firewall rules or reverse proxy authentication gateways; (4) Enable verbose logging and monitoring of authorization requests to identify exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
specialized Java OAuth2 server component, common in enterprise Spring deployments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy