# CVE-2026-114128: Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-10-21T17:32:28.466Z
- Modified: 2026-10-23T15:17:25.413Z
- Also known as: GHSA-98hj-9722-w3j8
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- withastro astro: < 7.3.2
- astro (npm): before 7.3.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/withastro/astro/security/advisories/GHSA-98hj-9722-w3j8> (web)
- <https://github.com/withastro/astro/pull/17896> (web)
- <https://github.com/withastro/astro/commit/a548223607b9bb146d5d90ddda495343f9a2a739> (web)
- <https://github.com/withastro/astro/releases/tag/astro@7.3.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-114128> (advisory)
- <https://github.com/withastro/astro> (package)

## Sources

- CVE List: [CVE-2026-114128](https://www.cve.org/CVERecord?id=CVE-2026-114128), CVE Terms of Use, modified 2026-10-23
- GitHub Advisory Database: [GHSA-98hj-9722-w3j8](https://github.com/advisories/GHSA-98hj-9722-w3j8), CC-BY-4.0, modified 2026-10-22
- NVD: [CVE-2026-114128](https://nvd.nist.gov/vuln/detail/CVE-2026-114128), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-114128 · Whole record: https://cve.day/CVE-2026-114128.json · Rebuilt by cve.day 2026-11-25T22:59:46.652Z
