Svelte vulnerable to XSS during SSR with contenteditable `bind:innerText` and `bind:textContent`
Résumé
Svelte vulnerable to XSS during SSR with contenteditable bind:innerText and bind:textContent
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Références
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com