Skip to main content

CVE-2026-114128: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in withastro astro

0
Medium
VulnerabilityCVE-2026-114128cvecve-2026-114128cwe-79
Published: 10/21/2026 (10/21/2026, 17:32:28 UTC)
Source: CVE Database V5
Vendor/Project: withastro
Product: astro

Description

CVE-2026-114128 is a cross-site scripting (XSS) vulnerability in the Astro web framework prior to version 7.3.2. The issue arises because Astro's JSX and MDX rendering pipeline treats string children of script and style elements as trusted HTML without properly distinguishing between static compiler-generated content and dynamic user input. This allows attacker-controlled data passed as dynamic children to inject arbitrary HTML and JavaScript by prematurely closing script or style tags. The vulnerability is fixed in Astro version 7.3.2.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected software

withastro

astro

Affected versions
<7.3.2
GitHub Actionsmore threats →ai
withastro/astro
pkg:github/withastro/astro
Affected versions
<7.3.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/21/2026, 18:00:50 UTC

Technical Analysis

Astro is a web framework for content-driven websites. Versions before 7.3.2 have a vulnerability in the JSX and MDX rendering pipeline where string children of script and style elements are treated as trusted HTML. This lack of proper neutralization allows an attacker to inject arbitrary HTML and JavaScript if attacker-controlled data is passed directly as a dynamic child, enabling reflected or stored cross-site scripting (CWE-79). The issue is specific to script and style children rendered through the astro:jsx renderer and does not affect other JSX expression contexts which escape dynamic strings automatically. The vulnerability is resolved in version 7.3.2.

Potential Impact

Successful exploitation can lead to reflected or stored cross-site scripting attacks under the application's origin, allowing an attacker to execute arbitrary JavaScript in the context of the vulnerable website. This can lead to impacts such as session hijacking, defacement, or other client-side attacks. The CVSS v3.1 base score is 6.5 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, unchanged scope, no confidentiality impact, high integrity impact, and no availability impact.

Mitigation Recommendations

Upgrade to Astro version 7.3.2 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-20T21:53:58.473Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad8fa684d27ba8daad211e1

Added to database: 10/21/2026, 17:46:16 UTC

Last enriched: 10/21/2026, 18:00:50 UTC

Last updated: 10/21/2026, 18:01:44 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses