Authorization Bypass Through User-Controlled Key Affecting nl.nl-portal:documenten-api package, versions [,3.0.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-NLNLPORTAL-17732788
  • published30 Jun 2026
  • disclosed18 Jun 2026
  • creditUnknown

Introduced: 18 Jun 2026

CVE-2026-54683  (opens in a new tab)
CWE-285  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade nl.nl-portal:documenten-api to version 3.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the getDocumentContent GraphQL query and the REST endpoint /api/documentapi/{documentapi}/document/{documentId}/content. An attacker can access sensitive document contents belonging to other users by making authenticated requests with valid document identifiers. This is only exploitable if the attacker is a logged-in user and knows or obtains the target document's identifier.

Workaround

This vulnerability can be mitigated by blocking the path GET /api/documentapi/*/document/*/content and the getDocumentContent GraphQL query at your gateway or reverse proxy, and removing any client code that calls them.

CVSS Base Scores

version 4.0
version 3.1