---
id: CVE-2026-59316
title: >-
  Spring Authorization Server's default consent page renders user-controlled
  values without HTML entity encoding
summary: >-
  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…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'
cwe:
  - CWE-79
published: '2026-08-27'
updated: '2026-08-28'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-59316'
references:
  - url: 'https://spring.io/security/cve-2026-59316'
    label: security@vmware.com
tags:
  - nvd
epss: 0.00319
epssPercentile: 0.22184
ingestedAt: '2026-08-29T21:42:35.932Z'
---

## Overview

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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
