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.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.3%top 74.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmsolid-js1.9.4GHSA-3qxh-p7jc-5xh6

Affected products (as reported)

VendorProductVersions
solidjs solid < 1.9.4

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

References