CVE-2026-114128 Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
Description
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 components. Successful exploitation can produce reflected or stored cross-site scripting under the application's origin. This issue is fixed in 7.3.2.
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/rhoai/odh-feature-server-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| npm astro(npm) | < 7.3.2 | 7.3.2 | Fixed |
| withastro astro | = < 7.3.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| withastro astro | = < 7.3.2 | No fix listed |
| redhat/rhoai/odh-feature-server-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| npm astro(npm) | < 7.3.2 | 7.3.2 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-98hj-9722-w3j8 vendor-advisory
- https://github.com/withastro/astro/pull/17896 patch
- https://github.com/withastro/astro/commit/a548223607b9bb146d5d90ddda495343f9a2a739 patch
- https://github.com/withastro/astro/releases/tag/astro@7.3.2
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2558417 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-107411 third-party-advisory