@angular/common@21.0.0-rc.2 vulnerabilities

Angular - commonly needed directives and services

  • latest version

    21.0.1

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    3 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @angular/common 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
    Insertion of Sensitive Information Into Sent Data

    Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data via the HttpClient which has a built-in XSRF protection mechanism. An attacker can obtain sensitive authentication tokens by crafting requests using protocol-relative URLs that cause the token to be sent to domains under the attacker's control.

    Note: This is only exploitable if XSRF protection is enabled and the application allows requests to protocol-relative URLs.

    How to fix Insertion of Sensitive Information Into Sent Data?

    Upgrade @angular/common to version 19.2.16, 20.3.14, 21.0.1 or higher.

    <19.2.16>=20.0.0-next.0 <20.3.14>=21.0.0-next.0 <21.0.1