CVE-2026-9318
MediumCVSS 5.4Exploitation Probability (EPSS)
Low risk8th percentile - higher than 8% of all known CVEs
Summary
In tablib prior to 3.10.0, a stored cross-site scripting vulnerability exists in the HTML export functionality. Malicious payloads in dataset titles are interpolated unsanitized into HTML output, allowing arbitrary JavaScript execution.
Risk Assessment
An attacker could hijack user sessions, perform unauthorized administrative actions, and expose sensitive data when the generated HTML is rendered in a browser.
Recommendation
Upgrade tablib to version 3.10.0 or later, which includes a fix for the XSS vulnerability.
Original NVD description (English source)
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.

