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
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @azure/msal-node | From 5.0.0-beta.0 before 7.1.0 (fixed in 7.1.0) |
References
- https://github.com/AzureAD/microsoft-authentication-library-for-js/security/advisories/GHSA-xcx6-jx8p-x3h5
- https://nvd.nist.gov/vuln/detail/CVE-2026-109461
- https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/8901
- https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/f550958586475dbfeb1cd44be14a2d653728850e
- https://github.com/AzureAD/microsoft-authentication-library-for-js
- https://github.com/AzureAD/microsoft-authentication-library-for-js/releases/tag/msal-node-v7.1.0
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-109461