3 matches found
Cross-site Scripting (XSS)
Overview @cyntler/react-doc-viewer is a File viewer for React. Affected versions of this package are vulnerable to Cross-site Scripting XSS in the TXTRenderer component when file content is not sanitized and raw data is explicitly cast as a ReactNode. An attacker can execute arbitrary JavaScript...
GHSA-FVHG-P4HF-79X3 @cyntler/react-doc-viewer's TXTRenderer fails to sanitize file content and explicitly casts raw data as a ReactNode
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...
CVE-2026-30691
A Cross-Site Scripting (XSS) vulnerability exists in @cyntler/react-doc-viewer v1.17.1 within the TXTRenderer component (specifically src/renderers/txt/index.tsx). The root cause is the component's failure to sanitize file content while explicitly casting raw data as a ReactNode . This allows rem...