{"id":"CVE-2026-30691","aliases":["CVE-2026-30691","GHSA-fvhg-p4hf-79x3"],"related":[],"kind":"vulnerability","state":"published","title":"@cyntler/react-doc-viewer's TXTRenderer fails to sanitize file content and explicitly casts raw data as a ReactNode","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Vulnerabilidad de cross-site scripting (XSS) en @cyntler/react-doc-viewer v1.17.1 permite a atacantes remotos ejecutar JavaScript arbitrario a través de un archivo .txt manipulado. El componente TXTRenderer no logra sanear el contenido del archivo y convierte explícitamente datos sin procesar como un ReactNode.","source":"nvd"}],"published":"2026-05-20T00:00:00.000Z","modified":"2026-09-10T03:50:46.819Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.17.1"}],"ecosystem":"npm","package":"@cyntler/react-doc-viewer","purl":"pkg:npm/%40cyntler/react-doc-viewer","source":"ghsa"}],"references":[{"url":"https://github.com/cyntler/react-doc-viewer/issues/317","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/walidriouah/CVE-2026-30691","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30691","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/cyntler/react-doc-viewer","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-20T17:49:49.585Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-30691","url":"https://www.cve.org/CVERecord?id=CVE-2026-30691","licence":"CVE Terms of Use","modified":"2026-05-20T17:50:41.324Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fvhg-p4hf-79x3","url":"https://github.com/advisories/GHSA-fvhg-p4hf-79x3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:46.819Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-30691","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30691","licence":"Public domain","modified":"2026-07-23T12:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:22.057Z","epss":{"score":0.00298,"percentile":0.24245,"date":"2026-12-01T12:00:22.000Z"}}