Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-18312 Overview
CVE-2026-18312 is a stored cross-site scripting (XSS) vulnerability in Readwise Reader for Android. The application constructs URLs in its WebView using attacker-controlled metadata without proper encoding or escaping. Untrusted values are interpolated directly into URL strings and inserted into the Document Object Model (DOM) through innerHTML. The missing HTML and JavaScript context encoding allows crafted metadata to break out of the intended URL structure and inject script content. The weakness is classified under CWE-79.
Critical Impact
An attacker who delivers a document containing malicious metadata can trigger script execution inside the Reader WebView once the document synchronizes to the victim's Android device.
Affected Products
- Readwise Reader for Android
- Android devices synchronizing documents through the Readwise service
- WebView component rendering synchronized Reader content
Discovery Timeline
- 2026-09-25 - CVE-2026-18312 published to the National Vulnerability Database (NVD)
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-18312
Vulnerability Analysis
Readwise Reader for Android renders synchronized documents inside an Android WebView. The application builds URL strings by interpolating metadata values that originate from documents saved by the user or imported from external sources. These values pass through no HTML encoding and no JavaScript string encoding before being written into the DOM via innerHTML.
Because the sink is innerHTML, the browser parses any injected markup as HTML. An attacker who controls metadata fields can terminate the URL attribute and introduce new attributes, event handlers, or <script> tags. The script then executes in the WebView origin, which has access to document content and any JavaScript bridges exposed by the Android host application.
The stored nature of the flaw amplifies the risk. The malicious document persists in the user's Readwise library and executes each time the item renders.
Root Cause
The root cause is improper neutralization of input during web page generation ([CWE-79]). The application treats metadata as trusted when constructing attribute values. It uses string concatenation rather than parameterized DOM APIs such as document.createElement with setAttribute, and it uses innerHTML instead of textContent for inserting values into the DOM.
Attack Vector
An attacker crafts a document whose metadata contains payload characters that close an HTML attribute and open a script context. The attacker places the document where the victim's Readwise account will ingest it, for example through a shared feed, an email forward, or a public URL the victim saves. When the Android client synchronizes the item, the Reader WebView parses the injected content and executes attacker-controlled JavaScript. User interaction is required to open the affected document in the Reader view. The attack scope changes because scripts execute in the WebView origin rather than the attacker's origin.
See the CERT Vulnerability Notice #699627 for additional technical context.
Detection Methods for CVE-2026-18312
Indicators of Compromise
- Documents in a user's Readwise library whose title, author, URL, or site name fields contain HTML control characters such as ", <, >, or javascript: sequences.
- Unexpected outbound network connections from the Reader WebView to attacker-controlled domains after opening a saved document.
- Metadata fields on synchronized items containing event handler attributes such as onerror= or onload=.
Detection Strategies
- Inspect Readwise document exports for metadata fields that contain HTML tags, attribute delimiters, or script scheme URIs.
- Review mobile proxy logs for requests originating from the Reader package that do not match legitimate article domains.
- Correlate installation of the Readwise Reader Android package with anomalous JavaScript-origin network beacons from mobile endpoints.
Monitoring Recommendations
- Enable mobile endpoint telemetry that captures WebView-initiated network activity on managed Android devices.
- Alert on Readwise Reader processes making connections to domains outside the known Readwise and content-provider allowlist.
- Track Readwise Reader version strings across the Android fleet to confirm patched builds are deployed.
How to Mitigate CVE-2026-18312
Immediate Actions Required
- Update Readwise Reader for Android to the latest version available in the Google Play Store once the vendor publishes a fix.
- Audit saved documents for suspicious metadata and remove any items whose source is untrusted.
- Restrict document sharing into Readwise accounts from unverified senders and public feeds.
Patch Information
No vendor advisory URL is listed in the enriched CVE data at the time of writing. Refer to the CERT Vulnerability Notice #699627 for the authoritative status on fixed versions and vendor coordination updates. Verify the installed Readwise Reader build in the Android app settings against the version identified in that notice.
Workarounds
- Avoid opening Readwise documents sourced from untrusted senders or public submissions until a patched version is installed.
- Disable automatic synchronization of shared or public feeds into the Readwise account from the Readwise web console.
- Use a managed Android profile that limits WebView access to sensitive application data and credentials.
# Verify the installed Readwise Reader package version on a managed device
adb shell dumpsys package io.readwise.reader | grep versionName
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

