PT-2025-7634 · Solid-Js · Solid-Js
Nsysean
·
Published
2025-02-21
·
Updated
2025-02-25
·
CVE-2025-27109
CVSS v3.1
7.3
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
solid-js versions prior to 1.9.4
Description
The issue concerns a lack of escaping in Inserts/JSX expressions inside illegal inlined JSX fragments, allowing user input to be rendered as HTML when put directly inside JSX fragments. This can lead to XSS attacks. For example, a URL parameter like
?text=<svg/onload=alert(1)> could trigger an XSS attack. The issue has been addressed in version 1.9.4.Recommendations
To resolve the issue, upgrade to version 1.9.4 or later. As a temporary workaround, consider validating and sanitizing user input to prevent XSS attacks. Restrict access to vulnerable components until the issue is resolved.
Exploit
Fix
Improper Encoding or Escaping of Output
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Solid-Js