@angular/platform-server@20.3.29

Angular - library for using Angular in Node.js

  • latest version

    22.1.6

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @angular/platform-server 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
    Improper Encoding or Escaping of Output

    @angular/platform-server is an Angular - library for using Angular in Node.js

    Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the domino dependency used for server-side rendering, where a vulnerability in the underlying DOM implementation allows an attacker to inject malicious scripts into server-rendered HTML. A remote attacker can cause a victim's browser to execute arbitrary JavaScript by supplying input that is processed through the vulnerable domino version during server-side rendering. The fix updates the pinned domino dependency to a patched commit that resolves the underlying flaw.

    How to fix Improper Encoding or Escaping of Output?

    Upgrade @angular/platform-server to version 20.3.30, 21.2.22, 22.1.4 or higher.

    <20.3.30>=21.0.0 <21.2.22>=22.0.0 <22.1.4
    • H
    Server-side Request Forgery (SSRF)

    @angular/platform-server is an Angular - library for using Angular in Node.js

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the URL resolution process. An attacker can cause requests to be sent to an attacker-controlled origin and exfiltrate sensitive server-side credentials by submitting URLs containing leading Unicode whitespace characters that bypass application-level same-origin checks but are interpreted differently by the server-side URL resolution utility.

    How to fix Server-side Request Forgery (SSRF)?

    Upgrade @angular/platform-server to version 20.3.30, 21.2.22, 22.1.4 or higher.

    <20.3.30>=21.0.0 <21.2.22>=22.0.0 <22.1.4