Skip to content

Get the evidence behind this dependency. Browse imported advisories below, or check an exact version against OSV now. View source coverage.

Behind the package

View on npm

Explore what the publisher declares for the latest npm release. These details are not a safety score; listed attestations have not been independently verified here.

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

Latest release7.4.12
Declared licenseMIT
Listed maintainersfredkschott, matthewp
Runtime dependencies52
Install-time scriptsNone declared
Integrity metadataRecorded by registry
Attestation metadataRecorded, not verified here
Registry deprecationNot marked deprecated
Direct dependencies of 7.4.12

Fetched 15/11/2026, 02:08:56 UTC · Original registry metadata

Release history

Explore up to 40 recent releases. Pick a version for an OSV check; registry metadata alone does not tell you whether a release has known vulnerabilities.

Check the version you ship.

Get a fresh OSV lookup for an exact release. We send the package name and version to OSV without storing a report.

Advisories & recorded fixes

medium6.3
CVE-2026-126364Some package fixes recorded

Astro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystems

The /_image endpoint used by the @astrojs/node adapter checks that a requested local image is inside the build output directory before reading it from disk. That check compared paths case-insensitively. On case-sensitive filesystems (such as Linux), a directory whose path differs from the output directory only by letter case is a different directory, but it passed the check.

Recorded fixes — astro: 7.4.7. Check your release branch.

Exploitation not established

Affected range Recorded fix
From 5.14.3 before 7.4.7Semantic versions7.4.7

Version evidence: OSV · GHSA-r3h5-4585-7x3w

View original version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "5.14.3"
        },
        {
          "fixed": "7.4.7"
        }
      ],
      "type": "SEMVER"
    }
  ],
  "versions": []
}
low2.3
CVE-2026-126361Package fixes recorded

Astro: XSS via attribute injection in dynamic tag names

When a dynamic tag (const Tag = ...; <Tag />) resolves to a string, Astro renders it as a raw HTML element name. The name was filtered to remove characters that could inject attributes, but the filter did not handle /. Because HTML parsers treat / inside a tag as an attribute separator, a tag name such as img/src/onerror=alert(1) was rendered as an <img> element with an onerror attribute. The JSX renderer used for MDX did not filter string tag names at all.

Recorded fixes — astro: 7.4.5. Check your release branch.

Exploitation not established

Affected range Recorded fix
Earlier releases before 7.4.5Semantic versions7.4.5

Version evidence: OSV · GHSA-mh32-jxcr-mh9f

View original version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "0"
        },
        {
          "fixed": "7.4.5"
        }
      ],
      "type": "SEMVER"
    }
  ],
  "versions": []
}