Vulnerability · Published Feb 21, 2025 · Assigned by GitHub_M
CVE-2025-27109Lack of Escaping of HTML in JSX Fragments allows for Cross-site Scripting in solid-js
High 7.3
In plain English
A high-severity cross-site scripting in solid from solidjs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | solid-js | 1.9.4 | GHSA-3qxh-p7jc-5xh6 |
Affected products (as reported)
Weakness: CWE-116, CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L