GHSA-xcx6-jx8p-x3h5
MSAL Node authorization code flow may disclose parameters to an attacker-controlled endpoint
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @azure/msal-node | >= 5.0.0-beta.0, < 7.1.0 | 7.1.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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
References
External links from the advisory. They lead to third-party sites.
- 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