CVE-2026-18320

CVE-2026-18320

Published Sep 25, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
Readwise Reader for Android uses a sanitize-html configuration that permits all attributes on SVG and PATH elements due to a wildcard attribute rule. This configuration fails to remove script-capable attributes such as event handlers (e.g., 'onload', 'onerror'). An attacker could supply a document containing malicious SVG content that survives sanitization and executes script wher rendered in the Reader WebView, resulting in client-side cross-site scripting (XSS).

Analysis

AI-generated

Technical impact

Readwise Reader for Android permits arbitrary attributes on SVG and PATH elements because its sanitize‑html configuration uses a wildcard attribute rule that ignores script‑capable attributes such as event handlers like 'onload' and 'onerror'. As a result, a malicious document that includes SVG code can evade sanitization and embed JavaScript that executes when rendered in the Reader WebView. The flaw enables an attacker to run arbitrary client‑side scripts within the application’s context, potentially exfiltrating data, hijacking the user session, or loading additional malware. The vulnerability is a classic example of a cross‑site scripting weakness that breaches confidentiality and integrity for users who open or view compromised content.

Affected Systems

The affected product is Readwise Reader for Android. No specific version information is provided by the vendor, and the affected‑version list is empty. All installations of the App that use the default sanitize‑html configuration are at risk until a fix is applied.

Risk and Exploitability

EPSS information is not available, and the vulnerability is not listed in CISA’s KEV catalog. The CVSS score is 6.1, indicating medium severity, but the nature of the flaw—client‑side XSS that can execute arbitrary JavaScript in the user’s context—implies a significant potential impact. The likely attack vector is the attacker delivering a crafted document, note, or other content that contains malicious SVG to a user of the Reader. If the application renders that content in an uncontrolled WebView, the embedded script will run with the privileges of the app. Without visibility into whether any user‑triggered input mechanisms exist, the exact conditions for exploitation remain unclear, but the underlying weakness is inherent to the sanitization process itself. This means that any delivery mechanism that ultimately leads to the WebView rendering is a potential exploitation path.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Readwise Reader to the latest version that fixes the sanitization flaw
  • If an update is not yet available, disable or configure the application to ignore or strip SVG elements and their attributes before rendering
  • Apply a content‑security‑policy that restricts JavaScript execution in the WebView
  • Consider using a third‑party HTML sanitizer that enforces strict attribute whitelists for SVG and PATH elements

Generated by OpenCVE AI on September 25, 2026 at 21:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Readwise
Readwise reader
Vendors & Products Readwise
Readwise reader
Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
Description Readwise Reader for Android uses a sanitize-html configuration that permits all attributes on SVG and PATH elements due to a wildcard attribute rule. This configuration fails to remove script-capable attributes such as event handlers (e.g., 'onload', 'onerror'). An attacker could supply a document containing malicious SVG content that survives sanitization and executes script wher rendered in the Reader WebView, resulting in client-side cross-site scripting (XSS).
Title CVE-2026-18320
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Sep 25, 2026, 4:57 PM
Reserved
Jul 29, 2026, 6:50 PM
Status
Deferred
Published
Sep 25, 2026, 5:17 PM
Modified
Sep 28, 2026, 4:31 PM