CVE-2026-42567
Svelte: ReDoS in `<svelte:element>` Tag Validation
EPSS 0.42%
描述
An internal regex in the Svelte runtime can take exponential time to test in `<svelte:element this={tag}></svelte:element>`. You are only vulnerable to this if you allow tags of unconstrained length. If your application only allows a predetermined list of tags or trims their length before passing them to `svelte:element`, you are safe.
如何修補 CVE-2026-42567
要修補 CVE-2026-42567,請將受影響套件升級到下列已修補版本。
- npm/svelte—升級至 5.55.7 或更新版本
CVE-2026-42567 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- >= 5.51.5, < 5.55.7
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |