ADVISORIES

GitHub Advisory Database

GHSA-xcx6-jx8p-x3h5

MSAL Node authorization code flow may disclose parameters to an attacker-controlled endpoint

Details

Impact

Origin validation error in Microsoft Authentication Library (MSAL) for Node.js allows an unauthorized attacker to disclose information over a network. This affects the auth_code flow.

Patches

Version 7.1.0 and higher are patched.

Workarounds

Ensure you pass in only the auth_code to to acquireTokenByCode

Affected packages

EcosystemPackageAffected versions
npm@azure/msal-node
From 5.0.0-beta.0 before 7.1.0 (fixed in 7.1.0)

References