Description
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.
Published: 2026-10-21
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary CSS injection (UI manipulation and potential data exposure)
Action: Patch Update
AI Analysis

Impact

Astro framework’s server‑side View Transition CSS generator does not isolate string animation properties, allowing attacker‑controlled data such as duration, delay, or animation names to close a CSS declaration and add additional CSS rules. The injected styles cannot terminate the style element or insert JavaScript, but they can hide or reposition content, add visible text, and misrepresent the interface. Because some applications expose data from selectable DOM attributes through conditional resource loads, the injected CSS could inadvertently leak information.

Affected Systems

Astro (withastro:astro) versions from 7.1.0 up to, but not including, 7.3.3 are vulnerable. The issue was remediated in release 7.3.3, so any deployment running 7.3.3 or newer is considered fixed.

Risk and Exploitability

The CVSS score of 2.3 reflects the modest impact and the absence of a direct code execution path. The EPSS score is <1%, indicating a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. Attackers must supply crafted animation property values—typically through user input forwarded to the view transition generator—to manipulate the UI of every visitor to the affected site. The risk is therefore limited to interface tampering and possible data exposure rather than remote code execution.

Generated by OpenCVE AI on October 22, 2026 at 15:45 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch that addresses the identified CSS injection vulnerability (CWE‑79) and improper string handling vulnerability (CWE‑140) in Astro.
  • If an upgrade is not yet possible, restrict and sanitize all animation property values forwarded to the View Transition CSS generator, enforcing a whitelist to eliminate characters that might trigger the CWE‑79 flaw.
  • Audit any dynamic CSS sourced from untrusted input to confirm it does not contain patterns that could exploit the CWE‑79 weakness, and remove or escape such characters.

Generated by OpenCVE AI on October 22, 2026 at 15:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mpr7-6m5w-76rw Astro: Arbitrary CSS injection in Astro View Transitions
History

Tue, 10 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 22 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-140
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

threat_severity

Moderate


Thu, 22 Oct 2026 11:15:00 +0000

Type Values Removed Values Added
First Time appeared Astro
Astro astro
Withastro
Withastro astro
Vendors & Products Astro
Astro astro
Withastro
Withastro astro

Wed, 21 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Astro: Arbitrary CSS injection in Astro View Transitions
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 2.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-30T20:16:50.619Z

Reserved: 2026-10-20T21:53:58.472Z

Link: CVE-2026-114127

cve-icon Vulnrichment

Updated: 2026-10-30T20:16:26.492Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-21T18:17:25.317

Modified: 2026-10-30T21:16:50.757

Link: CVE-2026-114127

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-21T17:30:03Z

Links: CVE-2026-114127 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T16:00:11Z

Weaknesses
  • CWE-140

    Improper Neutralization of Delimiters

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')