{"id":"CVE-2026-9318","aliases":["CVE-2026-9318","GHSA-gqgw-jghv-mxwx","PYSEC-2026-3702"],"related":[],"kind":"vulnerability","state":"published","title":"tablib versions prior to 3.10.0 Stored XSS via HTML Export Dataset Title","summary":"tablib prior to 3.10.0 contains a stored cross-site scripting vulnerability in the HTML export functionality that allows attackers to execute arbitrary JavaScript by embedding malicious payloads in dataset titles, which are interpolated unsanitized into HTML output via the export_book method in the _html.py format handler. Attackers can rename worksheet sheets in imported files such as XLSX, ODS, XLS, or YAML with script payloads that are assigned to the Dataset title attribute and rendered unescaped inside an HTML h3 tag, leading to session hijacking, unauthorized administrative actions, and sensitive data exposure when the output is rendered in a browser.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"tablib prior to 3.10.0 contains a stored cross-site scripting vulnerability in the HTML export functionality that allows attackers to execute arbitrary JavaScript by embedding malicious payloads in dataset titles, which are interpolated unsanitized into HTML output via the export_book method in the _html.py format handler. Attackers can rename worksheet sheets in imported files such as XLSX, ODS, XLS, or YAML with script payloads that are assigned to the Dataset title attribute and rendered unescaped inside an HTML h3 tag, leading to session hijacking, unauthorized administrative actions, and sensitive data exposure when the output is rendered in a browser.","source":"cvelist"},{"lang":"es","text":"tablib anterior a la versión 3.10.0 contiene una vulnerabilidad de cross-site scripting almacenado en la funcionalidad de exportación HTML que permite a los atacantes ejecutar JavaScript arbitrario incrustando cargas útiles maliciosas en los títulos de los conjuntos de datos, los cuales son interpolados sin sanitizar en la salida HTML a través del método export_book en el gestor de formato _html.py. Los atacantes pueden renombrar hojas de cálculo en archivos importados como XLSX, ODS, XLS o YAML con cargas útiles de script que se asignan al atributo de título del conjunto de datos y se renderizan sin escapar dentro de una etiqueta HTML h3, lo que lleva al secuestro de sesión, acciones administrativas no autorizadas y exposición de datos sensibles cuando la salida se renderiza en un navegador.","source":"nvd"}],"published":"2026-08-12T02:20:44.688Z","modified":"2026-11-08T14:09:20.383Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","score":4.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"3.10.0","status":"affected"}],"vendor":"Jazzband","product":"tablib","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.10.0"}],"ecosystem":"PyPI","package":"tablib","purl":"pkg:pypi/tablib","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.10.0"}],"ecosystem":"PyPI","package":"tablib","purl":"pkg:pypi/tablib","source":"pysec"}],"references":[{"url":"https://github.com/jazzband/tablib","tags":["package","product"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jazzband/tablib/pull/668","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jazzband/tablib/releases/tag/v3.10.0","tags":["patch","release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/tablib-versions-prior-to-stored-xss-via-html-export-dataset-title","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9318","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/tablib","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-gqgw-jghv-mxwx","tags":["advisory"],"sources":["pysec"]}],"credits":["Katriel Moses"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-12T16:03:28.051Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9318","url":"https://www.cve.org/CVERecord?id=CVE-2026-9318","licence":"CVE Terms of Use","modified":"2026-11-08T14:09:20.383Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gqgw-jghv-mxwx","url":"https://github.com/advisories/GHSA-gqgw-jghv-mxwx","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:14.092Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9318","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9318","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3702","url":"https://osv.dev/vulnerability/PYSEC-2026-3702","licence":"CC-BY-4.0","modified":"2026-08-19T12:45:07.048Z"}],"updatedAt":"2026-11-25T22:59:32.538Z","epss":{"score":0.00181,"percentile":0.08016,"date":"2026-12-01T12:00:22.000Z"}}