Intel

AIKIDO-2025-10853

league/oauth2-server is vulnerable to Generation of Error Message Containing Sensitive Information

Generation of Error Message Containing Sensitive Information Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

20

Low Risk

This Affects:

PHPleague/oauth2-server
0.0.1 - 9.2.0
Fixed in 9.3.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to exposure of sensitive data through stack traces. The fix introduces a dedicated “sensitive” parameter to properly mark and filter sensitive values, ensuring they are not included in stack traces and preventing unintended disclosure during error handling.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

league/oauth2-server is vulnerable to Generation of Error Message Containing Sensitive Information in versions 0.0.1 - 9.2.0.

How to fix this

Upgrade the league/oauth2-server library to the patch version.