Search
Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
2 vulnerabilities by readest
CVE-2026-82642 (GCVE-0-2026-82642)
Vulnerability from nvd – Published: 2026-08-30 13:44 – Updated: 2026-08-31 16:45
VLAI
EPSS
VEX
Title
Readest: unsanitized iframe srcdoc attribute in the EPUB sanitizer can lead to arbitrary code execution
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 (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.
Severity
8.8 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-31 16:45 UTC
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/readest/readest/security/advis… | vendor-advisory |
| https://github.com/readest/readest/pull/4762 | patch |
| https://github.com/readest/readest/commit/005aa2d… | patch |
| https://github.com/readest/readest/releases/tag/v… | release-notes |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-82642",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-31T16:45:50.271180Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-31T16:45:59.286Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://github.com/readest/readest",
"defaultStatus": "unaffected",
"platforms": [
"Windows",
"macOS",
"Linux"
],
"product": "readest",
"repo": "https://github.com/readest/readest",
"vendor": "readest",
"versions": [
{
"lessThan": "0.11.16",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Yuval Moravchick, JFrog Security Research"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eReadest 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 \u0026lt;script\u0026gt; tag (FORBID_TAGS: [\u0027script\u0027]) in apps/readest-app/src/services/transformers/sanitizer.ts. DOMPurify does not parse the contents of the srcdoc attribute on \u0026lt;iframe\u0026gt; elements, treating it as an opaque string attribute, so an attacker who can get an \u0026lt;iframe\u0026gt; element to survive sanitization can embed a complete HTML document containing a \u0026lt;script\u0026gt; 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 \u0027iframe\u0027, \u0027object\u0027 and \u0027embed\u0027 to FORBID_TAGS and adding \u0027srcdoc\u0027 to FORBID_ATTR.\u003c/p\u003e"
}
],
"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 \u003cscript\u003e tag (FORBID_TAGS: [\u0027script\u0027]) 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 \u0027iframe\u0027, \u0027object\u0027 and \u0027embed\u0027 to FORBID_TAGS and adding \u0027srcdoc\u0027 to FORBID_ATTR."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-30T13:44:34.109Z",
"orgId": "48a46f29-ae42-4e1d-90dd-c1676c1e5e6d",
"shortName": "JFROG"
},
"references": [
{
"name": "GHSA-p4x7-pf2c-xrvj",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/readest/readest/security/advisories/GHSA-p4x7-pf2c-xrvj"
},
{
"name": "PR #4762",
"tags": [
"patch"
],
"url": "https://github.com/readest/readest/pull/4762"
},
{
"name": "Fix commit 005aa2d6157a",
"tags": [
"patch"
],
"url": "https://github.com/readest/readest/commit/005aa2d6157a34049bf45641c06861d606a85edb"
},
{
"name": "Release v0.11.16 (first fixed release)",
"tags": [
"release-notes"
],
"url": "https://github.com/readest/readest/releases/tag/v0.11.16"
}
],
"solutions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eUpgrade to Readest 0.11.16 or later. The fix adds \u0027srcdoc\u0027 to the DOMPurify FORBID_ATTR list and \u0027iframe\u0027, \u0027object\u0027 and \u0027embed\u0027 to FORBID_TAGS in apps/readest-app/src/services/transformers/sanitizer.ts.\u003c/p\u003e"
}
],
"value": "Upgrade to Readest 0.11.16 or later. The fix adds \u0027srcdoc\u0027 to the DOMPurify FORBID_ATTR list and \u0027iframe\u0027, \u0027object\u0027 and \u0027embed\u0027 to FORBID_TAGS in apps/readest-app/src/services/transformers/sanitizer.ts."
}
],
"source": {
"discovery": "EXTERNAL"
},
"timeline": [
{
"lang": "en",
"time": "2026-06-23T00:00:00.000Z",
"value": "Reported to the Readest maintainers"
},
{
"lang": "en",
"time": "2026-06-24T14:01:00.000Z",
"value": "Fix committed (005aa2d6157a, PR #4762)"
},
{
"lang": "en",
"time": "2026-06-28T18:51:00.000Z",
"value": "Fix released in v0.11.16"
}
],
"title": "Readest: unsanitized iframe srcdoc attribute in the EPUB sanitizer can lead to arbitrary code execution",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eOnly open EPUB files from trusted sources. Ensure the \u0027allow script\u0027 view setting remains disabled, as enabling it bypasses sanitization entirely.\u003c/p\u003e"
}
],
"value": "Only open EPUB files from trusted sources. Ensure the \u0027allow script\u0027 view setting remains disabled, as enabling it bypasses sanitization entirely."
}
],
"x_generator": {
"engine": "Vulnogram 1.0.5"
}
}
},
"cveMetadata": {
"assignerOrgId": "48a46f29-ae42-4e1d-90dd-c1676c1e5e6d",
"assignerShortName": "JFROG",
"cveId": "CVE-2026-82642",
"datePublished": "2026-08-30T13:44:34.109Z",
"dateReserved": "2026-08-30T13:32:39.506Z",
"dateUpdated": "2026-08-31T16:45:59.286Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-82642 (GCVE-0-2026-82642)
Vulnerability from cvelistv5 – Published: 2026-08-30 13:44 – Updated: 2026-08-31 16:45
VLAI
EPSS
VEX
Title
Readest: unsanitized iframe srcdoc attribute in the EPUB sanitizer can lead to arbitrary code execution
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 (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.
Severity
8.8 (High)
SSVC
Exploitation: none
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-31 16:45 UTC
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/readest/readest/security/advis… | vendor-advisory |
| https://github.com/readest/readest/pull/4762 | patch |
| https://github.com/readest/readest/commit/005aa2d… | patch |
| https://github.com/readest/readest/releases/tag/v… | release-notes |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-82642",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-31T16:45:50.271180Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-31T16:45:59.286Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://github.com/readest/readest",
"defaultStatus": "unaffected",
"platforms": [
"Windows",
"macOS",
"Linux"
],
"product": "readest",
"repo": "https://github.com/readest/readest",
"vendor": "readest",
"versions": [
{
"lessThan": "0.11.16",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Yuval Moravchick, JFrog Security Research"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eReadest 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 \u0026lt;script\u0026gt; tag (FORBID_TAGS: [\u0027script\u0027]) in apps/readest-app/src/services/transformers/sanitizer.ts. DOMPurify does not parse the contents of the srcdoc attribute on \u0026lt;iframe\u0026gt; elements, treating it as an opaque string attribute, so an attacker who can get an \u0026lt;iframe\u0026gt; element to survive sanitization can embed a complete HTML document containing a \u0026lt;script\u0026gt; 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 \u0027iframe\u0027, \u0027object\u0027 and \u0027embed\u0027 to FORBID_TAGS and adding \u0027srcdoc\u0027 to FORBID_ATTR.\u003c/p\u003e"
}
],
"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 \u003cscript\u003e tag (FORBID_TAGS: [\u0027script\u0027]) 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 \u0027iframe\u0027, \u0027object\u0027 and \u0027embed\u0027 to FORBID_TAGS and adding \u0027srcdoc\u0027 to FORBID_ATTR."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-30T13:44:34.109Z",
"orgId": "48a46f29-ae42-4e1d-90dd-c1676c1e5e6d",
"shortName": "JFROG"
},
"references": [
{
"name": "GHSA-p4x7-pf2c-xrvj",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/readest/readest/security/advisories/GHSA-p4x7-pf2c-xrvj"
},
{
"name": "PR #4762",
"tags": [
"patch"
],
"url": "https://github.com/readest/readest/pull/4762"
},
{
"name": "Fix commit 005aa2d6157a",
"tags": [
"patch"
],
"url": "https://github.com/readest/readest/commit/005aa2d6157a34049bf45641c06861d606a85edb"
},
{
"name": "Release v0.11.16 (first fixed release)",
"tags": [
"release-notes"
],
"url": "https://github.com/readest/readest/releases/tag/v0.11.16"
}
],
"solutions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eUpgrade to Readest 0.11.16 or later. The fix adds \u0027srcdoc\u0027 to the DOMPurify FORBID_ATTR list and \u0027iframe\u0027, \u0027object\u0027 and \u0027embed\u0027 to FORBID_TAGS in apps/readest-app/src/services/transformers/sanitizer.ts.\u003c/p\u003e"
}
],
"value": "Upgrade to Readest 0.11.16 or later. The fix adds \u0027srcdoc\u0027 to the DOMPurify FORBID_ATTR list and \u0027iframe\u0027, \u0027object\u0027 and \u0027embed\u0027 to FORBID_TAGS in apps/readest-app/src/services/transformers/sanitizer.ts."
}
],
"source": {
"discovery": "EXTERNAL"
},
"timeline": [
{
"lang": "en",
"time": "2026-06-23T00:00:00.000Z",
"value": "Reported to the Readest maintainers"
},
{
"lang": "en",
"time": "2026-06-24T14:01:00.000Z",
"value": "Fix committed (005aa2d6157a, PR #4762)"
},
{
"lang": "en",
"time": "2026-06-28T18:51:00.000Z",
"value": "Fix released in v0.11.16"
}
],
"title": "Readest: unsanitized iframe srcdoc attribute in the EPUB sanitizer can lead to arbitrary code execution",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eOnly open EPUB files from trusted sources. Ensure the \u0027allow script\u0027 view setting remains disabled, as enabling it bypasses sanitization entirely.\u003c/p\u003e"
}
],
"value": "Only open EPUB files from trusted sources. Ensure the \u0027allow script\u0027 view setting remains disabled, as enabling it bypasses sanitization entirely."
}
],
"x_generator": {
"engine": "Vulnogram 1.0.5"
}
}
},
"cveMetadata": {
"assignerOrgId": "48a46f29-ae42-4e1d-90dd-c1676c1e5e6d",
"assignerShortName": "JFROG",
"cveId": "CVE-2026-82642",
"datePublished": "2026-08-30T13:44:34.109Z",
"dateReserved": "2026-08-30T13:32:39.506Z",
"dateUpdated": "2026-08-31T16:45:59.286Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}