CVE-2026-30691 @cyntler/react-doc-viewer's TXTRenderer fails to sanitize file content and explicitly casts raw data as a ReactNode
MediumCVSS 6.1
EPSS 0.30%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cyntler @cyntler/react-doc-viewer(npm) | <= 1.17.1 | after 1.17.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cyntler @cyntler/react-doc-viewer(npm) | <= 1.17.1 | No fix listed |
References
- github.com
- github.com exploit
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product