Repository navigation
chore(deps): update dependency @astrojs/solid-js to v7.1.2 [security] - #178
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
editor | 1e4353f | Commit Preview URL Branch Preview URL |
Nov 13 2026, 03:11 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.0.2→7.1.2Astro: Reflected XSS via unescaped slot names in @astrojs/solid-js
CVE-2026-126363 / GHSA-jmv2-qgxf-f995
More information
Details
Summary
The
@astrojs/solid-jsrenderer wraps named slot content passed to Solid components in an<astro-slot>element, and writes the slot name into itsnameattribute without HTML escaping. A slot name containing"could end the attribute and inject arbitrary HTML into the page.For example, a page that takes a slot name from the request:
rendered with a Solid component that renders a slot by name:
would output a
tabvalue such asx"><img src=x onerror=alert(1)>as live HTML.Impact
Reflected cross-site scripting. An attacker who gets a user to open a crafted link can run JavaScript on the site's origin, but only in applications where all of the following are true:
client:*directive. For non-hydrated components the slot wrapper is removed from the output, together with itsnameattribute.This is the
@astrojs/solid-jscounterpart of GHSA-8hv8-536x-4wqp (CVE-2026-50146), which fixed the same issue inastrocore.Affected versions
@astrojs/solid-js>= 0.2.0, <= 7.1.1.Patches
Fixed in
@astrojs/solid-js7.1.2. Slot names are now HTML-escaped in the server renderer.Workarounds
Upgrade to
@astrojs/solid-js7.1.2 or later. Before upgrading, do not use request-controlled input as a slot name, or map it to a fixed set of known slot names before passing it to a component.Credits
Reported by @manus-pi.
Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
withastro/astro (@astrojs/solid-js)
v7.1.2Compare Source
Patch Changes
290b196Thanks @matthewp! - Escapes slot names when rendering the slot wrapper elements for Solid componentsv7.1.1Compare Source
Patch Changes
#18475
cf27e70Thanks @ematipico! - Bumps the minimum supported Node.js version to 22.23.4, which includes the fixes from the October 2026 Node.js security releasesThis is a patch release because the Node.js support and upgrade policy allows the Core team to raise the minimum Maintenance LTS version in a patch release when a disclosed and fixed Node.js security flaw affects Astro.
v7.1.0Compare Source
Minor Changes
#18277
2715958Thanks @florian-lefebvre! - Increases the minimum Node.js version to 22.22.0The minimum supported Node.js version is now 22.22.0, the latest Node.js 22 release supported by StackBlitz. This change is in line with Astro's Node.js support policy.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.