Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| withastro | astro | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Astro | Astro |
|
||||||||
| Withastro | Astro |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-98hj-9722-w3j8 | Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.321% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Astro
Astro astro Withastro Withastro astro |
|
| Vendors & Products |
Astro
Astro astro Withastro Withastro astro |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV3_1
|