@sveltejs/adapter-node@5.5.0 vulnerabilities

Adapter for SvelteKit apps that generates a standalone Node server

  • latest version

    5.5.2

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    7 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @sveltejs/adapter-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
    Server-side Request Forgery (SSRF)

    @sveltejs/adapter-node is an Adapter for SvelteKit apps that generates a standalone Node server

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to the improper decoding of protocol headers in resolved path. An attacker can cause the server process to terminate or access internal services by sending crafted requests, potentially leading to unauthorized access to internal resources or cache poisoning attacks.

    Note:

    This is only exploitable if at least one prerendered route is present, and for accessing internal services, the application must use the node adapter without a configured ORIGIN environment variable and lack a reverse proxy with Host header validation.

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

    Upgrade @sveltejs/adapter-node to version 5.5.1 or higher.

    >=5.2.15 <5.5.1