CVE-2026-30691: n/a
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
AI Analysis
Technical Summary
This vulnerability involves improper sanitization in the TXTRenderer component of @cyntler/react-doc-viewer v1.17.1. When rendering .txt files, the component treats raw file content as ReactNode without sanitization, enabling an attacker to inject and execute arbitrary JavaScript code via a crafted .txt file. This is a classic Cross-Site Scripting (XSS) flaw that could be exploited remotely. No patch or official fix information is currently available, and the vulnerability was published on 2026-05-20.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary JavaScript in the context of the affected application using the vulnerable library. This can lead to typical XSS impacts such as session hijacking, defacement, or redirection to malicious sites. No evidence of active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid processing untrusted .txt files with the vulnerable TXTRenderer component or implement manual sanitization of file contents before rendering.
CVE-2026-30691: n/a
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
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper sanitization in the TXTRenderer component of @cyntler/react-doc-viewer v1.17.1. When rendering .txt files, the component treats raw file content as ReactNode without sanitization, enabling an attacker to inject and execute arbitrary JavaScript code via a crafted .txt file. This is a classic Cross-Site Scripting (XSS) flaw that could be exploited remotely. No patch or official fix information is currently available, and the vulnerability was published on 2026-05-20.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary JavaScript in the context of the affected application using the vulnerable library. This can lead to typical XSS impacts such as session hijacking, defacement, or redirection to malicious sites. No evidence of active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid processing untrusted .txt files with the vulnerable TXTRenderer component or implement manual sanitization of file contents before rendering.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-03-04T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0df486ba1db4736293a1c9
Added to database: 5/20/2026, 5:51:02 PM
Last enriched: 5/20/2026, 5:51:40 PM
Last updated: 5/20/2026, 8:40:09 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.