{"id":"CVE-2026-82642","sourceIdentifier":"reefs@jfrog.com","published":"2026-08-30T14:17:04.193","lastModified":"2026-08-31T19:27:23.020","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"reefs@jfrog.com","affectedData":[{"vendor":"readest","product":"readest","defaultStatus":"unaffected","collectionURL":"https://github.com/readest/readest","platforms":["Windows","macOS","Linux"],"repo":"https://github.com/readest/readest","versions":[{"version":"0","lessThan":"0.11.16","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"reefs@jfrog.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-31T16:45:50.271180Z","id":"CVE-2026-82642","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"reefs@jfrog.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"references":[{"url":"https://github.com/readest/readest/commit/005aa2d6157a34049bf45641c06861d606a85edb","source":"reefs@jfrog.com"},{"url":"https://github.com/readest/readest/pull/4762","source":"reefs@jfrog.com"},{"url":"https://github.com/readest/readest/releases/tag/v0.11.16","source":"reefs@jfrog.com"},{"url":"https://github.com/readest/readest/security/advisories/GHSA-p4x7-pf2c-xrvj","source":"reefs@jfrog.com"}]}