Improper Input Validation Affecting org.springframework.security:spring-security-oauth2-authorization-server package, versions [1.3.0,1.5.7)[7.0.0-M3,7.0.5)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
0.45% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-16121795
  • published22 Apr 2026
  • disclosed21 Apr 2026
  • creditKelvin Mbogo

Introduced: 21 Apr 2026

CVE-2026-22752  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade org.springframework.security:spring-security-oauth2-authorization-server to version 1.5.7, 7.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation of certain client metadata fields when explicitly enabled. An attacker possessing a valid Initial Access Token can dynamically register a malicious client with crafted metadata. Depending on the metadata provided and the Authorization Server's configuration, this can lead to Stored Cross-Site Scripting (XSS), Privilege Escalation, or Server-Side Request Forgery (SSRF).

CVSS Base Scores

version 4.0
version 3.1