astro@5.0.0-beta.11 vulnerabilities

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

  • latest version

    5.1.1

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the astro package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Storage of File with Sensitive Data Under Web Root

    astro is an Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

    Affected versions of this package are vulnerable to Storage of File with Sensitive Data Under Web Root due to the exposure of sourcemap files in publicly accessible directories during the build process. An attacker can access and reconstruct server-side source code by making unauthorized HTTP GET requests to the server hosting the website.

    Note:

    This is only exploitable if sourcemaps are enabled.

    How to fix Storage of File with Sensitive Data Under Web Root?

    Upgrade astro to version 4.16.18, 5.0.8 or higher.

    <4.16.18>=5.0.0-alpha.0 <5.0.8