PT-2026-42214 · Npm · @Cyntler/React-Doc-Viewer
Walidriouah
·
Published
2026-05-20
·
Updated
2026-05-21
·
CVE-2026-30691
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
@cyntler/react-doc-viewer version 1.17.1
Description
A Cross-Site Scripting (XSS) issue exists where remote attackers can execute arbitrary JavaScript by using a crafted .txt file. This occurs because the
TXTRenderer component does not sanitize file content and explicitly casts raw data as a ReactNode (a type representing any renderable content in React).Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Cyntler/React-Doc-Viewer