# GHSA-XCX6-JX8P-X3H5: MSAL Node authorization code flow may disclose parameters to an attacker-controlled endpoint

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-10-23
- Modified: 2026-10-23

## Tracked as

- [CVE-2026-109461](https://cve.now/CVE-2026-109461.md): Microsoft Authentication Library (MSAL) for Node.js Information Disclosure Vulnerability

## Affected versions

- @azure/msal-node (npm): from 5.0.0-beta.0, fixed in 7.1.0

## Description

### 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

- 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

Page: https://cve.now/GHSA-XCX6-JX8P-X3H5

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
