CVE-2026-82642
HighCVSS 8.8Exploitation Probability (EPSS)
Low risk31th percentile - higher than 31% of all known CVEs
Summary
Readest is an open-source e-book reader built on Tauri. In versions prior to 0.11.16, EPUB chapter HTML is sanitized with DOMPurify using a configuration that forbade only the <script> tag. DOMPurify does not parse the contents of the srcdoc attribute on <iframe> elements, so an attacker can embed a complete HTML document containing a <script> tag inside srcdoc and have it execute. The script can access Tauri IPC commands, escalating to arbitrary code execution.
Risk Assessment
Risk of arbitrary code execution in the application context, potentially leading to system compromise and data theft.
Recommendation
Update Readest to version 0.11.16 or later, which includes a hardened sanitizer configuration (added 'iframe', 'object', 'embed' to FORBID_TAGS and 'srcdoc' to FORBID_ATTR).
Other vulnerabilities in Readest
See all- CVE-2026-57567High
In affected desktop Tauri builds prior to 0.11.10, the apps/readest-app/src-tauri/src/transfer_file.rs commands download_file and upload_file accepted a webview-controlled file_path and passed it to File::create or File::open without checking the Tauri filesystem scope, rejecting absolute paths, or blocking parent-directory traversal. JavaScript executing in the privileged application origin could write attacker-controlled content to any path writable by the process or read and send any path readable by the process.
- CVE-2026-57566Critical
Readest prior to 0.11.10 contains an unauthenticated /api/opds/proxy route that fetches an attacker-controlled URL server-side without restricting the scheme, blocking private, loopback, link-local, or metadata hosts, or revalidating destinations during redirects. The route also accepts caller-controlled outbound headers and Authorization values and reflects the upstream status and response body.
Original NVD description (English source)
Readest is an open-source e-book reader built on Tauri. In versions prior to 0.11.16, EPUB chapter HTML is sanitized with DOMPurify using a configuration that forbade only the <script> tag (FORBID_TAGS: ['script']) in apps/readest-app/src/services/transformers/sanitizer.ts. DOMPurify does not parse the contents of the srcdoc attribute on <iframe> elements, treating it as an opaque string attribute, so an attacker who can get an <iframe> element to survive sanitization can embed a complete HTML document containing a <script> tag inside srcdoc and have it execute when the browser renders the iframe. The content iframe is configured with sandbox="allow-same-origin allow-scripts", so script executing inside it shares the parent origin and can reach parent.parent.__TAURI_INTERNALS__.invoke(...), giving access to every Tauri IPC command the application is permitted to use, which escalates to arbitrary code execution. The payload can be made invisible (zero-size, transparent iframe) so the reader sees only normal book text. Version 0.11.16 hardened the sanitizer configuration by adding 'iframe', 'object' and 'embed' to FORBID_TAGS and adding 'srcdoc' to FORBID_ATTR.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

