{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-82642 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-82642 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-82642 is a high-severity cross-site scripting vulnerability in readest, published on 30 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-82642 and fix it if it is affected.\n\nWhat it is: CVE-2026-82642 is a high-severity cross-site scripting vulnerability in readest, published on 30 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-82642 in the wild and no public exploit code.\n\nAffected product: readest. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-82642/ (Markdown: https://insights.sbomify.com/CVE-2026-82642/index.md)","id":"CVE-2026-82642","markdown":"https://insights.sbomify.com/CVE-2026-82642/index.md","name":"CVE-2026-82642","record":{"aliases":["GHSA-p4x7-pf2c-xrvj","GHSA-wvmc-79x2-m97w"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Tauri e-book reader","requires_auth":"none","summary":"Attackers can execute arbitrary code via unsanitized iframe srcdoc attributes in EPUB files, bypassing DOMPurify restrictions in Readest.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"JFROG","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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 \u003cscript\u003e tag (FORBID_TAGS: ['script']) in apps/readest-app/src/services/transformers/sanitizer.ts. DOMPurify does not parse the contents of the srcdoc attribute on \u003ciframe\u003e elements, treating it as an opaque string attribute, so an attacker who can get an \u003ciframe\u003e element to survive sanitization can embed a complete HTML document containing a \u003cscript\u003e 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Readest: unsanitized iframe srcdoc attribute in the EPUB sanitizer can lead to arbitrary code execution","id":"CVE-2026-82642","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"WWBN AVideo Unauthenticated Rate Limit Bypass via preauthorize.json.php","id":"CVE-2026-82643"},"packages":[],"prev":{"headline":"Keploy 3.1.0-3.6.25 Unauthenticated TLS Key Exposure","id":"CVE-2026-82641"},"products":["readest"],"published":"2026-08-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-31","vendors":["readest"]},"summary":"Attackers can execute arbitrary code via unsanitized iframe srcdoc attributes in EPUB files, bypassing DOMPurify restrictions in Readest.","url":"https://insights.sbomify.com/CVE-2026-82642/"}