All reports
Medium

@cyntler/react-doc-viewer's TXTRenderer fails to sanitize file content and explicitly casts raw data as a ReactNode

Affected versions

Affected versions
<= 1.17.1
Fixed version
Not reported

Exploitation

CVE-2026-30691

Probability of exploitation in the next 30 days: 0.30%

FIRST EPSS · 2026-11-21

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.

Links