CVE-2026-95626

Tauri framework v2 CSP nonce protection bypass via data and blob URI schemes allows an XSS to RCE chains

Published Sep 23, 2026 CVSS 3.1 · 8.3 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises because the Tauri framework injects a random nonce to harden its Content Security Policy, yet it fails to neutralize scripts loaded from data: or blob: schemes. Consequently, any script that sources from these schemes can execute regardless of the nonce. This bypass enables an attacker to inject malicious JavaScript through those schemes, resulting in a cross‑site scripting attack that can subsequently be chained into remote code execution on the host machine, exposing confidentiality, integrity, and availability of the system.

Affected Systems

Tauri framework version 2 and any application built with it that includes data: or blob: in its script-src directive is affected. No specific version range is provided, so all v2 releases that do not address this issue remain vulnerable.

Risk and Exploitability

The CVSS score of 8.3 classifies the flaw as high severity, but the EPSS score of less than 1% indicates that exploitation likelihood is currently low. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker would need to supply code that is loaded via a data: or blob: URI within the application; once executed, they can execute arbitrary commands on the system. The attack vector can be local or remote, depending on how the application procures these schemes, but the specific method of delivery is not detailed in the advisory.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Tauri release that contains a fix for the CSP nonce bypass.
  • Adjust the application’s CSP configuration to remove data: and blob: from the script-src directive, limiting script sources to trusted origins only.
  • If an immediate upgrade is not feasible, restrict the use of data: and blob: schemes in the application and ensure that only signed, trusted content can be loaded via these schemes.

Generated by OpenCVE AI on September 23, 2026 at 15:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Tauri
Tauri tauri
Vendors & Products Tauri
Tauri tauri
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Tauri framework v2 CSP nonce protection bypass via data and blob URI schemes allows an XSS to RCE chains
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
JFROG
Published
Updated
Sep 23, 2026, 2:03 PM
Reserved
Sep 22, 2026, 10:38 AM
Status
Deferred
Published
Sep 23, 2026, 10:17 AM
Modified
Sep 23, 2026, 7:42 PM