p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de svelte

Vulnerabilidades publicadas para svelte en los últimos 30 días: 0. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 14

  1. CVE-2026-42599

    Media · CVSS 5.1EPSS 0,21%Corrección disponible

    Cross-site scripting via spread attributes in Svelte SSR

    Svelte is a performance oriented web framework. Prior to version 5.55.7, when using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers. Note that this vulnerability only triggers if the user's browser has JavaScript enabled but Svelte's hydration mechanism does not reach the vulnerable element before the event fires. This issue has been patched in version 5.55.7.

    • Actualiza a 5.55.7
    Publicación Actualización
  2. CVE-2026-42567

    Media · CVSS 5.9EPSS 0,45%Corrección disponible

    Svelte: ReDoS in `<svelte:element>` Tag Validation

    Svelte is a performance oriented web framework. From version 5.51.5 to before version 5.55.7, an internal regex in the Svelte runtime can take exponential time to test in <svelte:element this={tag}></svelte:element>. This issue has been patched in version 5.55.7.

    • Actualiza a 5.55.7
    Publicación Actualización
  3. CVE-2026-42573

    Media · CVSS 5.3EPSS 0,34%Corrección disponible

    Svelte: XSS via DOM Clobbering of Internal Framework State

    Svelte is a performance oriented web framework. Prior to version 5.55.7, Svelte was vulnerable to DOM clobbering of its internal framework state on elements, potentially leading to XSS attacks. This issue has been patched in version 5.55.7.

    • Actualiza a 5.55.7
    Publicación Actualización
  4. GHSA-f3cj-j4f6-wq85

    Media · CVSS 5.3Corrección disponible

    Svelte: SSR XSS via Insecure Promise Serialization in hydratable

    Contents of `hydratable` promises were not properly stringified, potentially leading to an XSS exploit. You are vulnerable if all of the following is true: - you are using `hydratable` (an experimental feature at the time of this report) - you are passing attacker-controlled input such that a synchronous value is hydrated, then a promise value, e.g. `hydratable('someKey', () => [synchronousValue, promiseValue])`

    • Actualiza a 5.55.7
    Publicación Actualización
  5. CVE-2026-27902

    Media · CVSS 5.3EPSS 0,27%Corrección disponible

    Svelte Vulnerable to XSS via HTML Comment Injection in SSR Error Boundary Hydration Markers

    Svelte performance oriented web framework. Prior to version 5.53.5, errors from `transformError` were not correctly escaped prior to being embedded in the HTML output, causing potential HTML injection and XSS if attacker-controlled content is returned from `transformError`. Version 5.53.5 fixes the issue.

    • Actualiza a 5.53.5
    Publicación Actualización
  6. CVE-2026-27901

    Media · CVSS 5.3EPSS 0,26%Corrección disponible

    Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`

    Svelte performance oriented web framework. Prior to version 5.53.5, the contents of `bind:innerText` and `bind:textContent` on `contenteditable` elements were not properly escaped. This could enable HTML injection and Cross-Site Scripting (XSS) if rendering untrusted data as the binding's initial value on the server. Version 5.53.5 fixes the issue.

    • Actualiza a 5.53.5
    Publicación Actualización
  7. CVE-2026-27125

    Media · CVSS 5.3EPSS 0,43%Corrección disponible

    Svelte SSR attribute spreading includes inherited properties from prototype chain

    svelte performance oriented web framework. Prior to 5.51.5, in server-side rendering, attribute spreading on elements (e.g. <div {...attrs}>) enumerates inherited properties from the object's prototype chain rather than only own properties. In environments where Object.prototype has already been polluted — a precondition outside of Svelte's control — this can cause unexpected attributes to appear in SSR output or cause SSR to throw errors. Client-side rendering is not affected. This vulnerability is fixed in 5.51.5.

    • Actualiza a 5.51.5
    Publicación Actualización
  8. CVE-2026-27122

    Media · CVSS 5.1EPSS 0,22%Corrección disponible

    Svelte SSR does not validate dynamic element tag names in `<svelte:element>`

    svelte performance oriented web framework. Prior to 5.51.5, when using <svelte:element this={tag}> in server-side rendering, the provided tag name is not validated or sanitized before being emitted into the HTML output. If the tag string contains unexpected characters, it can result in HTML injection in the SSR output. Client-side rendering is not affected. This vulnerability is fixed in 5.51.5.

    • Actualiza a 5.51.5
    Publicación Actualización
  9. CVE-2026-27121

    Media · CVSS 5.1EPSS 0,22%Corrección disponible

    Svelte affected by cross-site scripting via spread attributes in Svelte SSR

    svelte performance oriented web framework. Versions of svelte prior to 5.51.5 are vulnerable to cross-site scripting (XSS) during server-side rendering. When using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers. This vulnerability is fixed in 5.51.5.

    • Actualiza a 5.51.5
    Publicación Actualización
  10. CVE-2026-27119

    Media · CVSS 5.1EPSS 0,21%Corrección disponible

    Svelte affected by XSS in SSR `<option>` element

    svelte performance oriented web framework. From 5.39.3, <=5.51.4, in certain circumstances, the server-side rendering output of an <option> element does not properly escape its content, potentially allowing HTML injection in the SSR output. Client-side rendering is not affected. This vulnerability is fixed in 5.51.5.

    • Actualiza a 5.51.5
    Publicación Actualización
  11. GHSA-gw32-9rmw-qwww

    Alta · CVSS 8.4Corrección disponible

    svelte is vulnerable to XSS with textarea bind:value

    ### Summary A server-side rendered `<textarea>` with two-way bound value does not have its value correctly escaped in the rendered HTML. ### Details In SSR, `<textarea bind:value={...}>` does not have its value escaped when it is rendered into the HTML as `<textarea>...</textarea>`. ### PoC Put this in a server-side-rendered Svelte component: ``` <script> let value = `test'"></textarea><script` + `>alert('BIM');</sc` + `ript>`; </script> <textarea bind:value /> ``` ### Impact - Only affects SSR - Needs a `<textarea bind:value>` filled by user content via two-way binding

    • Actualiza a 3.59.2
    Publicación Actualización
  12. CVE-2025-15265

    Media · CVSS 5.3EPSS 0,35%Corrección disponible

    Svelte 5.46.0 - Hydratable Key Script-Breakout XSS (SSR)

    An SSR XSS exists in async hydration when attacker‑controlled keys are passed to hydratable. The key is embedded inside a <script> block without HTML‑safe escaping, allowing </script> to terminate the script and inject arbitrary JavaScript. This enables remote script execution in users' browsers, with potential for session theft and account compromise. This issue affects Svelte: from 5.46.0 before 5.46.3.

    • Actualiza a 5.46.4
    Publicación Actualización
  13. CVE-2024-45047

    Media · CVSS 5.4EPSS 0,36%Corrección disponible

    Potential mXSS vulnerability due to improper HTML escaping in svelte

    svelte performance oriented web framework. A potential mXSS vulnerability exists in Svelte for versions up to but not including 4.2.19. Svelte improperly escapes HTML on server-side rendering. The assumption is that attributes will always stay as such, but in some situation the final DOM tree rendered on browsers is different from what Svelte expects on server-side rendering. This may be leveraged to perform XSS attacks, and a type of the XSS is known as mXSS (mutation XSS). More specifically, this can occur when injecting malicious content into an attribute within a `noscript` tag. This issue has been addressed in release version 4.2.19. Use

    • Actualiza a 4.2.19
    Publicación Actualización
  14. CVE-2022-25875

    Media · CVSS 5.4EPSS 1,44%Corrección disponible

    Cross-site Scripting (XSS)

    The package svelte before 3.49.0 are vulnerable to Cross-site Scripting (XSS) due to improper input sanitization and to improper escape of attributes when using objects during SSR (Server-Side Rendering). Exploiting this vulnerability is possible via objects with a custom toString() function.

    • Actualiza a 3.49.0
    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →