@nuxt/rspack-builder@4.4.6

rspack bundler for Nuxt

  • latest version

    4.4.8

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    13 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @nuxt/rspack-builder 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
    • M
    Improper Verification of Source of a Communication Channel

    @nuxt/rspack-builder is a rspack bundler for Nuxt

    Affected versions of this package are vulnerable to Improper Verification of Source of a Communication Channel through the isSameOriginRequest check in the dev-server request handling path. An attacker can send a browser-originated request with Sec-Fetch-Site, Origin, and Referer all absent to reach a development server bound to a non-loopback address and trigger privileged dev-server actions. This lets a remote page issue requests against the developer’s running server and abuse local build, file, or control endpoints that the server exposes.

    Workarounds

    • Do not use nuxt dev --host; keep the dev server bound to localhost and, if you need access from other devices, tunnel to it through SSH or a reverse proxy that enforces same-origin checks.
    • Switch to the Vite builder for development instead of the webpack or rspack builder.

    How to fix Improper Verification of Source of a Communication Channel?

    Upgrade @nuxt/rspack-builder to version 3.21.7, 4.4.7 or higher.

    >=3.15.4 <3.21.7>=4.0.0-alpha.1 <4.4.7