Skip to content
Heist/ feed
Back to feed
Critical

Spring Security OAuth2 Authorization Server: Insufficient validation of Dynamic Client Registration metadata

Type: advisorySources: OSV

In versions of Spring Security's OAuth2 Authorization Server module 7.0.0 through 7.0.4, when Dynamic Client Registration is explicitly enabled, the registration endpoint performs insufficient validation of certain client metadata fields supplied by the registering client. An attacker who possesses a valid Initial Access Token can register a malicious client with crafted metadata, which, depending on server configuration and how the metadata is later rendered or used, may result in Stored Cross-Site Scripting (XSS), Privilege Escalation, or Server-Side Request Forgery (SSRF).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-59354
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 10:14 UTC · Revision 1

Source evidence

Spring Security OAuth2 Authorization Server: Insufficient validation of Dynamic Client Registration metadata

core-osv · Original source

Published 27 Aug 2026, 06:33 UTC

In versions of Spring Security's OAuth2 Authorization Server module 7.0.0 through 7.0.4, when Dynamic Client Registration is explicitly enabled, the registration endpoint performs insufficient validation of certain client metadata fields supplied by the registering client. An attacker who possesses a valid Initial Access Token can register a malicious client with crafted metadata, which, depending on server configuration and how the metadata is later rendered or used, may result in Stored Cross-Site Scripting (XSS), Privilege Escalation, or Server-Side Request Forgery (SSRF).

osv:CVE-2026-59354
Complete source record
{
  "id": "309025f96d4ec23a33803795888c93647079405f9ea60c96813bb0556b995df1",
  "url": "https://osv.dev/vulnerability/CVE-2026-59354",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Spring Security OAuth2 Authorization Server: Insufficient validation of Dynamic Client Registration metadata",
    "summary": "In versions of Spring Security's OAuth2 Authorization Server module 7.0.0 through 7.0.4, when Dynamic Client Registration is explicitly enabled, the registration endpoint performs insufficient validation of certain client metadata fields supplied by the registering client. An attacker who possesses a valid Initial Access Token can register a malicious client with crafted metadata, which, depending on server configuration and how the metadata is later rendered or used, may result in Stored Cross-Site Scripting (XSS), Privilege Escalation, or Server-Side Request Forgery (SSRF).",
    "evidence": "osv:CVE-2026-59354",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-59354",
      "aliases": [
        "CVE-2026-59354"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-security",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1d99a7fb14c62354cac00412cce2071892cdf465"
                },
                {
                  "fixed": "53bc6a77963209bb2a5f3efdd855b1f4a8051cc3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.4",
            "7.0.3",
            "7.0.2",
            "7.0.1",
            "7.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59354.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.279375906Z",
      "provider": "osv",
      "references": [
        "https://repo.maven.apache.org/maven2/org/springframework/security/spring-security-oauth2-authorization-server/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59354.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-59354",
        "https://spring.io/security/cve-2026-59354",
        "https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N&version=3.1"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "last_affected": "7.0.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59354.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-59354",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518969,
  "published_at": "2026-08-27T06:33:03.463+00:00"
}