Advisory

GHSA-fvhg-p4hf-79x3

Also known as: CVE-2026-30691

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-20 18:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

@cyntler/react-doc-viewer

npm · All systems

Affected

  • introduced 0, last affected 1.17.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences