---
id: CVE-2026-114127
title: 'Astro: Arbitrary CSS injection in Astro View Transitions'
summary: >-
  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 att…
severity: low
cvss: 2.3
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-79
  - CWE-140
vendor: withastro
product: astro
affected:
  - 'astro >= 7.1.0, < 7.3.3'
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-30T20:16:45.444356Z'
exploitAvailable: true
published: '2026-10-21'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T20:16:50.619Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114127'
references:
  - url: 'https://github.com/withastro/astro/security/advisories/GHSA-mpr7-6m5w-76rw'
    label: 'https://github.com/withastro/astro/security/advisories/GHSA-mpr7-6m5w-76rw'
  - url: 'https://github.com/withastro/astro/pull/17970'
    label: 'https://github.com/withastro/astro/pull/17970'
  - url: >-
      https://github.com/withastro/astro/commit/0b4dc3a211910b589d3805ab4dfedf11b0e712bb
    label: >-
      https://github.com/withastro/astro/commit/0b4dc3a211910b589d3805ab4dfedf11b0e712bb
  - url: 'https://github.com/withastro/astro/releases/tag/astro@7.3.3'
    label: 'https://github.com/withastro/astro/releases/tag/astro@7.3.3'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-114127.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-114127'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2558413'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-114127'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-114127'
  - url: 'https://github.com/advisories/GHSA-mpr7-6m5w-76rw'
tags:
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
  - ghsa
  - npm
  - score-dispute
epss: 0.00498
epssPercentile: 0.42862
aliases:
  - GHSA-mpr7-6m5w-76rw
ecosystem: npm
patched:
  - astro 7.3.3
scores:
  cna: 2.3
  vendor: 5.4
ingestedAt: '2026-10-21T18:09:27.277Z'
---

## Overview

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 conceal or reposition content, add generated text, and otherwise misrepresent the interface; some applications may also expose data already present in selectable DOM attributes through conditional resource loads. This issue is fixed in 7.3.3.

## Affected

- `astro >= 7.1.0, < 7.3.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-114127)

Affected packages:

- `astro >= 7.1.0, <= 7.3.2`

Patched in:

- `astro 7.3.3`

Source: https://github.com/advisories/GHSA-mpr7-6m5w-76rw

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat OpenShift AI (RHOAI) · no fix planned: Red Hat OpenShift AI (RHOAI) · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-114127.json)
