Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-82642

published high CVSS 3.1 · 8.8

Readest: unsanitized iframe srcdoc attribute in the EPUB sanitizer can lead to arbitrary code execution

Published
30 Aug 2026, 13:44:34 UTC
Updated
31 Aug 2026, 16:45:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
readest — readest0 to < 0.11.16 · Other versions: unaffected · Platforms: Windows, macOS, Linux Affected Not stated JFROG

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.

en · JFROG · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
JFROG · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
readest readest 0 to < 0.11.16 (affected · semver)Default: unaffected JFROG · cna

Weaknesses

1
  • CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (JFROG · cna)

References

4
  • Fix commit 005aa2d6157a https://github.com/readest/readest/commit/005aa2d6157a34049bf45641c06861d606a85edb patch Contributors: JFROG (cna)
  • PR #4762 https://github.com/readest/readest/pull/4762 patch Contributors: JFROG (cna)
  • Release v0.11.16 (first fixed release) https://github.com/readest/readest/releases/tag/v0.11.16 release-notes Contributors: JFROG (cna)
  • GHSA-p4x7-pf2c-xrvj https://github.com/readest/readest/security/advisories/GHSA-p4x7-pf2c-xrvj vendor-advisory Contributors: JFROG (cna)

Provider assertions

2

JFROG · cna

Readest: unsanitized iframe srcdoc attribute in the EPUB sanitizer can lead to arbitrary code execution

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
128ab12a30d1dfefc7312eb03ecc41678b33cdba17e3c1d8a0efff9da0770c11
Ingested
23 Sep 2026, 09:35:28 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected