{"id":"GHSA-fvhg-p4hf-79x3","revision":"a84037093a0d411599629692f78ebfbe","records":[{"revision":"a84037093a0d411599629692f78ebfbe","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-fvhg-p4hf-79x3","aliases":["CVE-2026-30691"],"title":"@cyntler/react-doc-viewer's TXTRenderer fails to sanitize file content and explicitly casts raw data as a ReactNode","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.","state":0,"publishedAt":"2026-05-20T18:31:36+00:00","modifiedAt":"2026-09-10T03:50:46.8195351+00:00","affected":[{"ecosystem":"npm","name":"@cyntler/react-doc-viewer","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"1.17.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-30691","https://github.com/cyntler/react-doc-viewer/issues/317","https://github.com/cyntler/react-doc-viewer","https://github.com/walidriouah/CVE-2026-30691"],"sourceUrl":"https://github.com/advisories/GHSA-fvhg-p4hf-79x3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-fvhg-p4hf-79x3","identifiers":["GHSA-fvhg-p4hf-79x3","CVE-2026-30691"]},"retained":false,"historicalAffected":[]}],"coverage":[]}