astro@5.12.7 vulnerabilities

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

  • latest version

    5.13.3

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    19 hours 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
    • M
    Cross-site Scripting (XSS)

    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 Cross-site Scripting (XSS) via the /_image endpoint. An attacker can cause loading of unauthorized third-party images, including potentially malicious SVG files, to be served by bypassing domain restrictions using protocol-relative URLs. This can lead to the execution of arbitrary scripts in the context of the affected site if a user follows a crafted link.

    Note: This vulnerability is only exploitable in projects using the @astrojs/node adapter and on-demand rendering.

    How to fix Cross-site Scripting (XSS)?

    Upgrade astro to version 4.16.19, 5.13.2 or higher.

    <4.16.19>=5.0.0-alpha.0 <5.13.2