Skip to content
RedCVE

CVE-2026-82642Readest cross-site scripting (XSS)

readestPublished:

CVSS score

8.8

High

CVSS 3.1 from jfrog.com

Exploit probability (EPSS)

0.66%

0.66% chance of exploitation in the next 30 days, higher than 52.8% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: reefs@jfrog.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Readest and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Readest to 0.11.16 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
readest Readest< 0.11.16

Weakness

  • CWE-79 cross-site scripting (XSS)

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-82642 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.7% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-82642?

CVE-2026-82642 has a CVSS 3.1 base score of 8.8 (high).

Which versions are affected?

Readest Readest (< 0.11.16)

Is there a patch for CVE-2026-82642?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.