@angular/compiler@20.3.22

Angular - the compiler library

  • latest version

    22.0.8

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    4 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @angular/compiler 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
    Cross-site Scripting (XSS)

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the two-way property binding. An attacker can execute arbitrary JavaScript in the context of the user's browser by supplying crafted input to a sensitive DOM property bound with two-way binding syntax.

    Note: This is only exploitable if the application uses two-way binding on a sensitive native DOM property, the bound value is user-controllable, and no additional manual sanitization is performed.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @angular/compiler to version 20.3.25, 21.2.17, 22.0.1 or higher.

    <20.3.25>=21.0.0-next.0 <21.2.17>=22.0.0-next.0 <22.0.1