p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in astro

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für astro: 2. Davon im KEV-Katalog: 0.

RSS ↗
Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 29

  1. CVE-2026-114128

    Mittel · CVSS 6.5EPSS 0,26%Korrektur verfügbar

    Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering

    Astro is a web framework for content-driven websites. Prior to 7.3.2, Astro's JSX and MDX rendering pipeline treats string children of script and style elements as trusted HTML without distinguishing compiler-generated literal content from dynamic expression values. An application that passes attacker-controlled data directly as a dynamic child can allow a value containing a closing script or style tag to terminate the element and inject arbitrary HTML and JavaScript. Other JSX expression contexts escape dynamic strings automatically; the issue is limited to script and style children rendered through the astro:jsx renderer, including MDX comp

    • Auf 7.3.2 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-114127

    Niedrig · CVSS 2.3EPSS 0,33%Öffentlicher ExploitKorrektur verfügbar

    Astro: Arbitrary CSS injection in Astro View Transitions

    Astro is a web framework for content-driven websites. From 7.1.0 until 7.3.3, Astro's server-side View Transition CSS generator does not keep string animation properties within their generated declarations. An application that passes attacker-controlled data into properties such as duration, delay, easing, direction, fillMode, or animation names can allow CSS delimiters to terminate the declaration and add attacker-selected rules to the server-rendered page. The generated stylesheet still escapes literal less-than characters, so the injected content cannot terminate the style element or directly inject HTML or JavaScript. The injected CSS can

    • Auf 7.3.3 aktualisieren
    Veröffentlicht Aktualisiert
  3. GHSA-26w7-cxv4-gfx2

    Kritisch · CVSS 9.8Korrektur verfügbar

    Astro: Remote code execution through AVIF image optimization

    A vulnerability in `libheif`, used by the default Sharp image service in Astro, can lead to remote code execution when a malicious AVIF image is optimized. Projects are affected when an attacker can cause Astro to process an untrusted AVIF image. The fix was released in Astro 7.2.8, which requires Sharp 0.35.4.

    • Auf 7.2.8 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2026-84376

    Mittel · CVSS 6.3EPSS 0,71%Korrektur verfügbar

    Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base

    Astro is a web framework for content-driven websites. Prior to 7.2.4, Astro stripped a configured non-root base path from request pathnames using a string-prefix check without verifying a path-segment boundary. With base "/app", a request to "/appX/admin" resolved internally to the protected "/admin" route while middleware observed "/appX/admin" in context.url.pathname. In applications that authorize base-prefixed routes by inspecting context.url.pathname, an unauthenticated remote attacker could bypass pathname-based middleware authorization and reach protected routes. This issue is fixed in version 7.2.4.

    • Auf 7.2.4 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2026-73423

    Mittel · CVSS 5.1EPSS 0,26%Korrektur verfügbar

    Astro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()` is absent or misordered

    Astro is a web framework for content-driven websites. From 7.0.0 until 7.0.6, the composable astro/hono pipeline installs security.checkOrigin only through the middleware() primitive, while actions() and pages() can dispatch to user code independently. Mounting actions() before middleware(), as in the examples/advanced-routing example and Cloudflare Hono documentation, allows cross-origin form-encoded action requests to execute before the origin check, and using pages() without middleware() drops the check for on-demand endpoints and pages. The flaw enables blind write-only cross-site request forgery using the victim's cookies against ActionH

    • Auf 7.0.6 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2026-73422

    Mittel · CVSS 5.3EPSS 0,55%Korrektur verfügbar

    Astro: Reflected XSS via unescaped View Transition animation properties

    Astro is a web framework for content-driven websites. From 2.9.0 until 7.1.0, Astro's server-side View Transition CSS generator interpolates animation properties into an inline style element without escaping them for CSS and HTML contexts. An attacker-controlled View Transition animation value such as duration can terminate the generated style element and inject arbitrary HTML or JavaScript. The affected code is packages/astro/src/runtime/server/transition.ts; renderTransition passes sheet.toString() into markHTMLString(), while addAnimationProperty serializes duration through toTimeValue() and also handles easing, direction, delay, fillMode,

    • Auf 7.1.0 aktualisieren
    Veröffentlicht Aktualisiert
  7. CVE-2026-59727

    Niedrig · CVSS 2.1EPSS 0,54%Korrektur verfügbar

    Astro: Cross-site scripting via unescaped transition:* directive values on hydrated islands

    Astro is a web framework for content-driven websites. In versions 3.10.0 through 7.0.3, when a transition:persist, transition:scope, or transition:persist-props directive is applied to a client-hydrated (client:*) component, Astro copied the directive value onto the rendered <astro-island> element without HTML-escaping it. If a developer reflects attacker-controlled input into one of these directives, an attacker can break out of the attribute and inject arbitrary HTML/JavaScript into the server-rendered output, resulting in reflected cross-site scripting (XSS). Exploitation requires the application developer to have written a non-idiomatic p

    • Auf 7.0.4 aktualisieren
    Veröffentlicht Aktualisiert
  8. CVE-2026-59729

    Mittel · CVSS 5.1EPSS 0,54%Korrektur verfügbar

    Astro: XSS via unescaped spread attribute names in renderHTMLElement (incomplete fix for CVE-2026-54298)

    Astro is a web framework for content-driven websites. Versions prior to 7.0.6 are vulnerable to XSS through unescaped spread attribute names in renderHTMLElement. The fix for CVE-2026-54298 (GHSA-jrpj-wcv7-9fh9) added an INVALID_ATTR_NAME_CHAR guard to addAttribute() so that spread-prop attribute names containing "' >/= or whitespace are dropped. A second attribute-rendering path, renderHTMLElement() in packages/astro/src/runtime/server/render/dom.ts, has its own inline attribute loop that does not go through addAttribute() and was not updated. It interpolates the attribute name unescaped and only escapes the value, so untrusted prop keys spr

    • Auf 7.0.6 aktualisieren
    Veröffentlicht Aktualisiert
  9. CVE-2026-59731

    Hoch · CVSS 8.2EPSS 0,47%Korrektur verfügbar

    Astro 6.4.7 Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch

    Astro is a web framework for content-driven websites. Version 6.4.7 performs authorization decisions on a partially decoded pathname after reaching the iterative URL decoder limit, while later rewrite route matching performs an additional decodeURI() operation and can resolve the request to a protected route. This issue is fixed in version 6.4.8.

    • Auf 6.4.8 aktualisieren
    Veröffentlicht Aktualisiert
  10. CVE-2026-54299

    Hoch · CVSS 7.5EPSS 0,33%Korrektur verfügbar

    Astro: Host-header full-read SSRF in core prerendered error-page fetch (prerenderedErrorPageFetch default + unvalidated createRequestFromNodeRequest URL)

    Astro is a web framework. Prior to 6.4.6, Astro SSR apps with prerendered error pages (/404 or /500 using export const prerender = true) fetch those pages over HTTP at runtime when an error occurs. The URL for this fetch is derived from request.url, which in turn gets its origin from the incoming Host header. When the Host header is not validated against allowedDomains, an attacker can point the fetch at an arbitrary host and read the response. This vulnerability is fixed in 6.4.6.

    • Auf 6.4.6 aktualisieren
    Veröffentlicht Aktualisiert
  11. CVE-2026-54298

    Mittel · CVSS 4.2EPSS 0,23%Korrektur verfügbar

    Astro: XSS via Unescaped Attribute Names in Spread Props

    Astro is a web framework. Prior to 6.4.6, the spreadAttributes function in Astro's server-side rendering pipeline iterates over object keys and passes them directly to addAttribute, which interpolates the key into the HTML output without escaping. When a developer uses the spread syntax {...props} on an HTML element and the object keys come from an untrusted source (API, CMS, URL parameters), an attacker can inject arbitrary HTML attributes including event handlers like onmousemove, onclick, or break out of the attribute context entirely to inject new elements. This vulnerability is fixed in 6.4.6.

    • Auf 6.4.6 aktualisieren
    Veröffentlicht Aktualisiert
  12. CVE-2026-50146

    Hoch · CVSS 7.1EPSS 0,27%Korrektur verfügbar

    Astro: Reflected XSS via unescaped slot name

    Astro is a web framework. Prior to 6.3.3, when a component uses a client:* directive, Astro inserts named slot content into a data-astro-template attribute without HTML escaping the slot name allowing an attacker to break out of the attribute context and inject arbitrary HTML, resulting in reflected XSS during SSR. This vulnerability is fixed in 6.3.3.

    • Auf 6.3.3 aktualisieren
    Veröffentlicht Aktualisiert
  13. CVE-2026-45028

    Niedrig · CVSS 2.9EPSS 0,2%Korrektur verfügbar

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

    Astro is a web framework. 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. This occurs when the application uses server islands, two different server island components share the same key name for a prop and a slot, and an attack

    • Auf 6.1.10 aktualisieren
    Veröffentlicht Aktualisiert
  14. CVE-2026-41067

    Mittel · CVSS 6.1EPSS 0,27%Korrektur verfügbar

    Astro: XSS via incomplete `</script>` sanitization in `define:vars` allows case-insensitive and whitespace-based bypass

    Astro is a web framework. Prior to 6.1.6, the defineScriptVars function in Astro's server-side rendering pipeline uses a case-sensitive regex /<\/script>/g to sanitize values injected into inline <script> tags via the define:vars directive. HTML parsers close <script> elements case-insensitively and also accept whitespace or / before the closing >, allowing an attacker to bypass the sanitization with payloads like </Script>, </script >, or </script/> and inject arbitrary HTML/JavaScript. This vulnerability is fixed in 6.1.6.

    • Auf 6.1.6 aktualisieren
    Veröffentlicht Aktualisiert
  15. CVE-2026-33769

    Niedrig · CVSS 2.9EPSS 0,37%Korrektur verfügbar

    Astro: Remote allowlist bypass via unanchored matchPathname wildcard

    Astro is a web framework. From version 2.10.10 to before version 5.18.1, this issue concerns Astro's remotePatterns path enforcement for remote URLs used by server-side fetchers such as the image optimization endpoint. The path matching logic for /* wildcards is unanchored, so a pathname that contains the allowed prefix later in the path can still match. As a result, an attacker can fetch paths outside the intended allowlisted prefix on an otherwise allowed host. This issue has been patched in version 5.18.1.

    • Auf 5.18.1 aktualisieren
    Veröffentlicht Aktualisiert
  16. CVE-2025-66202

    Mittel · CVSS 6.5EPSS 0,31%Korrektur verfügbar

    Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765

    Astro is a web framework. Versions 5.15.7 and below have a double URL encoding bypass which allows any unauthenticated attacker to bypass path-based authentication checks in Astro middleware, granting unauthorized access to protected routes. While the original CVE-2025-64765 was fixed in v5.15.8, the fix is insufficient as it only decodes once. By using double-encoded URLs, attackers can still bypass authentication and access any route protected by middleware pathname checks. This issue is fixed in version 5.15.8.

    • Auf 5.15.8 aktualisieren
    Veröffentlicht Aktualisiert
  17. CVE-2025-64765

    Mittel · CVSS 6.9EPSS 0,54%Korrektur verfügbar

    Astro middleware authentication checks based on url.pathname can be bypassed via url encoded values

    Astro is a web framework. Prior to version 5.15.8, a mismatch exists between how Astro normalizes request paths for routing/rendering and how the application’s middleware reads the path for validation checks. Astro internally applies decodeURI() to determine which route to render, while the middleware uses context.url.pathname without applying the same normalization (decodeURI). This discrepancy may allow attackers to reach protected routes using encoded path variants that pass routing but bypass validation checks. This issue has been patched in version 5.15.8.

    • Auf 5.15.8 aktualisieren
    Veröffentlicht Aktualisiert
  18. CVE-2025-64764

    Hoch · CVSS 7.1EPSS 0,53%Öffentlicher ExploitKorrektur verfügbar

    Astro is vulnerable to Reflected XSS via the server islands feature

    Astro is a web framework. Prior to version 5.15.8, a reflected XSS vulnerability is present when the server islands feature is used in the targeted application, regardless of what was intended by the component template(s). This issue has been patched in version 5.15.8.

    • Auf 5.15.8 aktualisieren
    Veröffentlicht Aktualisiert
  19. CVE-2025-65019

    Mittel · CVSS 5.4EPSS 0,27%Korrektur verfügbar

    Astro Cloudflare adapter has a Stored Cross Site Scripting vulnerability in /_image endpoint

    Astro is a web framework. Prior to version 5.15.9, when using Astro's Cloudflare adapter (@astrojs/cloudflare) with output: 'server', the image optimization endpoint (/_image) contains a critical vulnerability in the isRemoteAllowed() function that unconditionally allows data: protocol URLs. This enables Cross-Site Scripting (XSS) attacks through malicious SVG payloads, bypassing domain restrictions and Content Security Policy protections. This issue has been patched in version 5.15.9.

    • Auf 5.15.9 aktualisieren
    Veröffentlicht Aktualisiert
  20. CVE-2025-64757

    Niedrig · CVSS 3.5EPSS 0,43%Korrektur verfügbar

    Astro Development Server is Vulnerable to Arbitrary Local File Read

    Astro is a web framework. Prior to version 5.14.3, a vulnerability has been identified in the Astro framework's development server that allows arbitrary local file read access through the image optimization endpoint. The vulnerability affects Astro development environments and allows remote attackers to read any image file accessible to the Node.js process on the host system. This issue has been patched in version 5.14.3.

    • Auf 5.14.3 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →