CVE-2026-30691

Cross‑Site Scripting via Unsanitized Text Rendering in @cyntler/react-doc-viewer

Published May 20, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
Cross-Site Scripting (XSS) vulnerability in @cyntler/react-doc-viewer v1.17.1 allows remote attackers to execute arbitrary JavaScript via a crafted .txt file. The TXTRenderer component fails to sanitize file content and explicitly casts raw data as a ReactNode

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fvhg-p4hf-79x3 @cyntler/react-doc-viewer's TXTRenderer fails to sanitize file content and explicitly casts raw data as a ReactNode
History
Type Values Removed Values Added
First Time appeared Cyntler
Cyntler react-doc-viewer
Vendors & Products Cyntler
Cyntler react-doc-viewer
Type Values Removed Values Added
Title Cross‑Site Scripting via Unsanitized Text Rendering in @cyntler/react-doc-viewer
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'}

ssvc

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

Type Values Removed Values Added
Description Cross-Site Scripting (XSS) vulnerability in @cyntler/react-doc-viewer v1.17.1 allows remote attackers to execute arbitrary JavaScript via a crafted .txt file. The TXTRenderer component fails to sanitize file content and explicitly casts raw data as a ReactNode
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 20, 2026, 5:50 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Deferred
Published
May 20, 2026, 6:16 PM
Modified
Jul 23, 2026, 12:10 PM