GHSA-hw62-58pr-7wc5 · Severity: high · Ecosystem: npm — DOM Expressions has a Cross-Site Scripting (XSS) vulnerability due to improper use of string.replace
dom-expressions is a Fine-Grained Runtime for Performant DOM Rendering. In affected versions the use of javascript's `.replace()` opens up to potential Cross-site Scripting (XSS) vulnerabilities with the special replacement patterns beginning with `$`. Particularly, when the attributes of `Meta` tag from solid-meta are user-defined, attackers can utilise the special replacement patterns, either `$'` or `$\`` to achieve XSS. The solid-meta package has this issue since it uses `useAffect` and context providers, which injects the used assets in the html header. "dom-expressions" uses `.replace()` to insert the assets, which is vulnerable to the special replacement patterns listed above. This effectively means that if the attributes of an asset tag contained user-controlled data, it would be vulnerable to XSS. For instance, there might be meta tags for the open graph protocol in a user profile page, but if attackers set the user query to some payload abusing `.replace()`, then they could execute arbitrary javascript in the victim's web browser. Moreover, it could be stored and cause more problems. This issue has been addressed in version 0.39.5 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Conclusion & alert: CVE-2025-27108 is rated Moderate Risk (49.1/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.34%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-05 | 0.15% | 0.34% | +0.18% |
| 2 | 2025-11-21 | 0.35% | 0.15% | -0.20% |
| 3 | 2025-11-18 | — | 0.35% | — |
Full EPSS history (8 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.3 | 3.1 | HIGH |
|
3.9 | 3.4 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-hw62-58pr-7wc5 · Severity: high · Ecosystem: npm — DOM Expressions has a Cross-Site Scripting (XSS) vulnerability due to improper use of string.replace
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| ryansolid | dom_expressions | < 0.39.5 | cpe:2.3:a:ryansolid:dom_expressions:*:*:*:*:*:*:*:* |