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).
Published: 2026-09-25
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: Client‑side cross‑site scripting (XSS) via malformed SVG content
Action: Patch
AI Analysis

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. No CVSS score is supplied, 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.

Generated by OpenCVE AI on September 25, 2026 at 17:54 UTC.

Remediation

No vendor fix or workaround currently provided.

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 17:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Fri, 25 Sep 2026 17:30:00 +0000

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'}


Fri, 25 Sep 2026 16:45:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2026-09-25T16:57:42.082Z

Reserved: 2026-07-29T18:50:43.819Z

Link: CVE-2026-18320

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T17:17:08.013

Modified: 2026-09-25T17:17:08.013

Link: CVE-2026-18320

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T18:00:20Z

Weaknesses
  • CWE-79

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