Skip to main content
Vulnerability Database/CVE-2026-18311

CVE-2026-18311: Readwise Reader Android XSS Vulnerability

CVE-2026-18311 is a stored cross-site scripting flaw in Readwise Reader for Android that allows attackers to inject malicious scripts through document metadata. This post explains its impact, technical details, and mitigation steps.

Published:

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-18311 Overview

CVE-2026-18311 is a stored cross-site scripting (XSS) vulnerability in Readwise Reader for Android. The flaw stems from missing HTML sanitization during the processing of imported document metadata. Attacker-controlled fields, such as the author meta tag, are inserted into a WebView via innerHTML, allowing script execution when a user opens the imported document.

Because the malicious payload is stored and synced across devices, the XSS executes anywhere the affected account opens the document. The issue is classified under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

An attacker who controls the metadata of a document imported into Readwise Reader can execute arbitrary JavaScript inside the application's WebView on synced Android devices, enabling session theft, content tampering, and potential cross-origin access within the app context.

Affected Products

  • Readwise Reader for Android (version information not published in the advisory)

Discovery Timeline

  • 2026-09-25 - CVE CVE-2026-18311 published to NVD
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-18311

Vulnerability Analysis

Readwise Reader renders document content inside an Android WebView. When a document is imported, the application reads metadata fields such as title, author, and description and injects them into the rendered HTML using the DOM innerHTML property. The absence of HTML sanitization means that any markup contained in those metadata fields is parsed and executed as part of the page.

Because Readwise synchronizes imported items across devices tied to the same account, the malicious payload persists server-side and executes on every synced client that opens the document. This makes the vulnerability a stored XSS rather than a reflected one, extending its reach beyond the initial import event.

Exploitation in the WebView context is particularly concerning because the WebView often has access to application-specific JavaScript bridges, cached authentication tokens, and locally rendered content. The scope change reflected in the CVSS vector indicates the payload can affect resources beyond the vulnerable component.

Root Cause

The root cause is improper neutralization of HTML control characters when assigning untrusted metadata to a DOM node using innerHTML. Any attacker-controlled markup is treated as live HTML. Safe alternatives such as textContent, templating with contextual escaping, or an allowlist-based sanitizer would prevent script injection.

Attack Vector

An attacker crafts a document whose metadata (for example, the <meta name="author"> tag) contains JavaScript inside an HTML construct, then publishes or shares a URL that the victim imports into Readwise Reader. User interaction is required because the victim must open the stored document. Once opened, the payload runs inside the Reader WebView on the Android device and any synced device that subsequently loads the document.

See the CERT Vulnerability Advisory #699627 for additional technical context.

Detection Methods for CVE-2026-18311

Indicators of Compromise

  • Imported documents containing HTML or JavaScript constructs inside metadata fields such as author, title, or description.
  • Unexpected outbound network requests from the Readwise Reader Android process to attacker-controlled domains following document import.
  • WebView rendering anomalies, such as script errors or injected UI elements, when opening a specific saved document.

Detection Strategies

  • Review server-side import logs for metadata fields containing <script>, event handler attributes (onerror, onload), or encoded JavaScript URIs.
  • Hunt for Android process telemetry showing the Readwise Reader package initiating connections to domains not associated with content imports.
  • Correlate newly synced document identifiers across multiple user devices to identify a stored payload with wide reach.

Monitoring Recommendations

  • Monitor mobile endpoint telemetry for anomalous network egress from the Readwise Reader application.
  • Track user-reported rendering issues or spurious prompts from the app that may indicate script execution.
  • Alert on bulk import activity from unexpected sources into managed Readwise accounts.

How to Mitigate CVE-2026-18311

Immediate Actions Required

  • Update Readwise Reader for Android to the latest version available in the Google Play Store once a fixed build is published by the vendor.
  • Delete any suspicious imported documents whose metadata originates from untrusted sources.
  • Advise users to avoid importing documents from URLs sent by unknown or untrusted parties.

Patch Information

No vendor advisory or fixed version is referenced in the NVD entry at the time of publication. Refer to the CERT Vulnerability Advisory #699627 for authoritative updates on remediation status and consult the Readwise support channels for the current patched release.

Workarounds

  • Restrict document imports to trusted sources until a patched version is installed.
  • Remove existing imported items that were sourced from untrusted or unknown URLs to clear stored payloads from synced accounts.
  • On managed mobile fleets, enforce timely Readwise Reader updates through mobile device management policies.

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.