@azure/msal-node@7.0.2

Microsoft Authentication Library for Node

  • latest version

    7.1.2

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    7 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @azure/msal-node package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Origin Validation Error

    @azure/msal-node is a Microsoft Authentication Library for Node

    Affected versions of this package are vulnerable to Origin Validation Error via the acquireTokenByCode method in ConfidentialClientApplication, which fails to sanitize the caller-supplied authCodePayload before use. An attacker who can influence the authorization code response payload can inject arbitrary fields - such as a manipulated code or nonce - into the token exchange request, potentially bypassing security checks tied to those values and gaining unauthorized access to protected resources.

    How to fix Origin Validation Error?

    Upgrade @azure/msal-node to version 7.1.0 or higher.

    >=5.0.0-beta.0 <7.1.0