nday
CVE-2026-126362 GHSA-f4j9-crrj-867q

Astro: Reflected XSS via unescaped slot names in @astrojs/svelte

withastro / astro

Hay constancia de un parche el mismo día de la divulgación. Versión corregida: @astrojs/svelte 9.1.2. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

tags weakness typeXSS accessnetworkno authentication required ecosystemnpm
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

XSS
CWE-79, stated by the CNA GitHub_M, NVD, republishing [email protected] y GitHub advisory GHSA-f4j9-crrj-867q
network
AV:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N (CVSS 4.0) from the CNA GitHub_M
no authentication required
PR:N in CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N (CVSS 4.0) from the CNA GitHub_M
npm
GHSA-f4j9-crrj-867q: npm packages @astrojs/svelte
etapa
PAT
divulgación
divulgación → parche
T+0d
cvss
2.3 LOW v4.0

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
11-12T22:29Z
PATparcheada
11-12T23:03Z
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

Astro is a web framework for content-driven websites. From 5.7.3 until 9.1.2, the @astrojs/svelte renderer inserted a named slot into the quoted name attribute of an astro-slot wrapper without HTML escaping. Request-controlled slot names containing a quote could terminate the attribute and inject active HTML. Exploitation required a hydrated Svelte component using a client:* directive and dynamic rendering of the attacker-chosen slot; components that did not render that slot emitted only Astro's escaped fallback content. Both server rendering and client-side hydration used the unsafe slot name. This issue is fixed in version 9.1.2.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:N
None: no account or authorization needed
User interaction UI:P
Passive: limited, involuntary interaction, such as visiting a page

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 2.3, severidad baja.

fuente cvelist · nday , observado en tiempo real · en bruto
{
  "id": 66654,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-126362",
  "occurred_at": "2026-11-12T22:29:19.505Z",
  "observed_at": "2026-11-12T23:01:25.305088Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "version": "4.0",
      "base_score": 2.3,
      "base_severity": "LOW"
    },
    "ssvc": {
      "timestamp": "2026-11-13T15:28:56.006808Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-12T22:29:19.505Z",
    "assigner_short_name": "GitHub_M"
  }
}
hora observada en tiempo real por nday
+PATparche registrado

Versión corregida según el aviso: @astrojs/svelte 9.1.2. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-f4j9-crrj-867q · nday , observado en tiempo real · en bruto
{
  "id": 66677,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-f4j9-crrj-867q",
  "occurred_at": null,
  "observed_at": "2026-11-12T23:03:52.547886Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-f4j9-crrj-867q",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 2.3,
        "vector_string": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Input During Web Page Generation",
        "cwe_id": "CWE-79"
      }
    ],
    "ghsa_id": "GHSA-f4j9-crrj-867q",
    "packages": [
      {
        "name": "@astrojs/svelte",
        "ecosystem": "npm",
        "first_patched_version": "9.1.2",
        "vulnerable_version_range": ">= 5.7.3, <= 9.1.1"
      }
    ],
    "severity": "low",
    "references": [
      "https://github.com/withastro/astro/security/advisories/GHSA-f4j9-crrj-867q",
      "https://github.com/withastro/astro/commit/5e476365378e41aa2745d003b2383d02008d7b44",
      "https://github.com/withastro/astro/releases/tag/@astrojs/[email protected]",
      "https://github.com/advisories/GHSA-f4j9-crrj-867q"
    ],
    "fix_commit_urls": [
      "https://github.com/withastro/astro/commit/5e476365378e41aa2745d003b2383d02008d7b44"
    ],
    "github_reviewed_at": "2026-11-12T22:34:04Z",
    "advisory_updated_at": "2026-11-12T22:34:05Z",
    "source_code_location": "https://github.com/withastro/astro",
    "advisory_published_at": "2026-11-12T22:34:04Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.