Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. tablib
  4. ›
  5. CVE-2026-9318

CVE-2026-9318: tablib: Stored XSS in the HTML export via unescaped dataset title

August 12, 2026

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.

References

  • github.com/advisories/GHSA-gqgw-jghv-mxwx
  • github.com/jazzband/tablib
  • github.com/jazzband/tablib/pull/668
  • github.com/jazzband/tablib/releases/tag/v3.10.0
  • nvd.nist.gov/vuln/detail/CVE-2026-9318
  • www.vulncheck.com/advisories/tablib-versions-prior-to-stored-xss-via-html-export-dataset-title

Code Behaviors & Features

Detect and mitigate CVE-2026-9318 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.10.0

Fixed versions

  • 3.10.0

Solution

Upgrade to version 3.10.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/tablib/CVE-2026-9318.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 13 Aug 2026 12:22:16 +0000.