Tauri framework v2 CSP nonce protection bypass via data and blob URI schemes allows an XSS to RCE chains
tauri
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Tauri tauri |
| No fix yet |
Original description
Tauri's Content Security Policy hardening, which injects a random nonce to restrict script execution, provides zero protection when an application includes data: or blob: in its script-src directive. Per the CSP Level 3 specification, these scheme sources remain active even when a nonce is present, allowing arbitrary script execution without knowing the nonce.
From the CVE record · JFROG