Solid Lacks Escaping of HTML in JSX Fragments allows for Cross-Site Scripting (XSS)GHSA-3qxh-p7jc-5xh6
HIGHFix: solidjs/solid@b93956fGHSA-3qxh-p7jc-5xh6 is a high-severity (CVSS 7.3) Cross-site Scripting (XSS) vulnerability in solid-js. A fix is available for solid-js — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-3qxh-p7jc-5xh6.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
solid-jsnpmDescription
solid-js is a declarative, efficient, and flexible JavaScript library for building user interfaces. In affected versions Inserts/JSX expressions inside illegal inlined JSX fragments lacked escaping, allowing user input to be rendered as HTML when put directly inside JSX fragments. This issue has been addressed in version 1.9.4 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | solid-js | all versions | 1.9.4npm install solid-js@1.9.4 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for solid-js, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update solid-js to 1.9.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-3qxh-p7jc-5xh6 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-3qxh-p7jc-5xh6 in your dependencies?
Find it across npm, including transitive dependencies.