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
Published: 2026-05-20
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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

Thu, 21 May 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Cyntler
Cyntler react-doc-viewer
Vendors & Products Cyntler
Cyntler react-doc-viewer

Wed, 20 May 2026 19:15:00 +0000

Type Values Removed Values Added
Title Cross‑Site Scripting via Unsanitized Text Rendering in @cyntler/react-doc-viewer

Wed, 20 May 2026 18: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'}

ssvc

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


Wed, 20 May 2026 17:45:00 +0000

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

Subscriptions

Cyntler React-doc-viewer
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-05-20T17:50:41.324Z

Reserved: 2026-03-04T00:00:00.000Z

Link: CVE-2026-30691

cve-icon Vulnrichment

Updated: 2026-05-20T17:50:13.807Z

cve-icon NVD

Status : Deferred

Published: 2026-05-20T18:16:26.760

Modified: 2026-06-17T10:32:52.560

Link: CVE-2026-30691

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-21T08:19:28Z

Weaknesses