@cyntler/react-doc-viewer@1.16.3

File viewer for React.

Direct Vulnerabilities

Known vulnerabilities in the @cyntler/react-doc-viewer package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • M
Cross-site Scripting (XSS)

@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 code by submitting a crafted .txt file.

How to fix Cross-site Scripting (XSS)?

There is no fixed version for @cyntler/react-doc-viewer.

*