GHSA-xcx6-jx8p-x3h5: High severity npm/@azure/msal-node vulnerability

Published Oct 23, 2026
·
Updated

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 authcode flow.

Patches

Version 7.1.0 and higher are patched.

Workarounds

Ensure you pass in only the authcode to to acquireTokenByCode

Affected Software

1 affected componentFixes available
npm/@azure/msal-node>=5.0.0-beta.0<7.1.0
7.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@azure/msal-node to a version that resolves this vulnerability.

    Fixed in 7.1.0
  2. Upgrade

    Upgrade Microsoft Authentication Library (MSAL) for Node.js to a version that resolves this vulnerability.

    Fixed in 7.1.0
  3. Configuration

    Pass only the auth_code to acquireTokenByCode.

    Microsoft Authentication Library (MSAL) for Node.js acquireTokenByCode input = auth_code only

Event History

Oct 23, 2026
Advisory Published
via GitHub·10:16 PM
Data Sourced
via GitHub·10:16 PM
DescriptionSeverityWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203