Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. astro
  4. ›
  5. CVE-2026-45028

CVE-2026-45028: Astro: Server island encrypted parameters vulnerable to cross-component replay

May 13, 2026 (updated May 14, 2026)

Astro versions prior to 6.1.10 used AES-GCM encryption to protect the confidentiality and integrity of server island props and slots parameters, but did not bind the ciphertext to its intended component or parameter type. An attacker could replay one component’s encrypted props (p) value as another component’s slots (s) value, or vice versa.

Since slots contain raw unescaped HTML while props may contain user-controlled values, this could lead to XSS in applications that meet all of the following conditions:

  • The application uses server islands
  • Two different server island components share the same key name for a prop and a slot
  • An attacker has full control over the value of the overlapping prop (requires a dynamically rendered page)

These conditions are very unlikely to occur in real-world production applications.

References

  • github.com/advisories/GHSA-xr5h-phrj-8vxv
  • github.com/withastro/astro/commit/3d82220a1549e699e34ed433f3846a919f4c02bd
  • github.com/withastro/astro/pull/16457
  • github.com/withastro/astro/security/advisories/GHSA-xr5h-phrj-8vxv
  • nvd.nist.gov/vuln/detail/CVE-2026-45028

Code Behaviors & Features

Detect and mitigate CVE-2026-45028 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.1.10

Fixed versions

  • 6.1.10

Solution

Upgrade to version 6.1.10 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-323: Reusing a Nonce, Key Pair in Encryption
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/astro/CVE-2026-45028.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:25 +0000.