Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to target application
-
DeliveryUpload crafted XLSX/ODS with script payload as sheet name
-
ExploitApplication imports file; tablib assigns sheet name to Dataset.title
-
InstallVictim requests HTML export of the Databook
-
C2export_book renders title unescaped inside h3 tag
-
ExecuteBrowser executes injected JavaScript
-
ImpactSession cookie exfiltrated or unauthorized action performed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following: (1) the attacker must have authenticated access sufficient to supply a file (XLSX, ODS, XLS, or YAML) to the target application - the CVSS PR:L metric confirms authentication is required; (2) the application must ingest that file into a tablib Databook, assigning the malicious worksheet name to a Dataset title attribute; (3) the application must subsequently export the Databook as HTML and deliver that HTML to a different user's browser without additional server-side sanitization. Additionally, the victim user must actively open or render the exported HTML (CVSS UI:A). Applications that control all sources of imported file data (e.g., internal ETL pipelines with no external file input), that never expose HTML exports to browser clients, or that apply their own output encoding before serving HTML are not exploitable. There is no unauthenticated or default-configuration remote attack path. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:A, score 4.8) accurately reflects a medium-severity stored XSS: exploitation requires authenticated access to upload or supply a crafted file (PR:L), and a separate victim must actively render the exported HTML in a browser (UI:A), which materially limits opportunistic or automated exploitation. The VC:L/VI:L ratings and SC:L/SI:L subsequent-system ratings are consistent with the realistic impact - session hijacking or forced unauthorized actions - rather than full system compromise. No CISA KEV listing exists, and no EPSS data was provided, so exploitation probability cannot be quantified; however, the PR diff and regression test confirm the vulnerability is straightforwardly reproducible. The CVSS attack complexity is correctly rated Low because no race condition or special timing is required once the file is ingested. Real-world risk is highest for web applications that accept file uploads from untrusted users and subsequently expose HTML exports to other authenticated users - a common pattern in reporting and BI tooling. Applications with controlled, trusted data pipelines that never render tablib HTML output in a browser face negligible risk regardless of version. |
| Exploit ScenarioDerived | An attacker with file-upload privileges submits an XLSX workbook containing a worksheet named |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Stored XSS in tablib's HTML export path before version 3.10.0 allows an authenticated attacker to inject arbitrary JavaScript via maliciously named worksheet titles sourced from imported XLSX, ODS, XLS, or YAML files. The export_book method in _html.py previously interpolated dataset titles directly into HTML h3 tags using an f-string, bypassing all escaping; script payloads assigned to the Dataset title attribute execute in a victim's browser when the exported HTML is rendered. No active exploitation confirmed in CISA KEV; vendor-released patch is available as v3.10.0.
RemediationAI
Upgrade tablib to version 3.10.0 or later, which resolves the vulnerability by using xml.etree.ElementTree for safe HTML encoding of dataset titles (see release at https://github.com/jazzband/tablib/releases/tag/v3.10.0 and the specific fix in PR #668 at https://github.com/jazzband/tablib/pull/668). If an immediate upgrade is not feasible, sanitize Dataset title values before export by applying Python's built-in html.escape() to any title derived from user-supplied file content prior to calling the HTML export method - this is a targeted, low-risk workaround with no functional trade-offs for non-HTML exports. As a structural compensating control, restrict the HTML export feature so that it is only invoked on Datasets whose titles originate from trusted internal sources, preventing attacker-controlled strings from reaching the export path entirely. Disabling HTML export at the application layer is a viable last-resort control with the trade-off of losing that reporting format. The VulnCheck advisory is available at https://www.vulncheck.com/advisories/tablib-versions-prior-to-stored-xss-via-html-export-dataset-title.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
tablib (CPE: cpe:2.3:a:jazzband:tablib:*:*:*:*:*:*:*:*) is a Python library maintained by the jazzband community for tabular data import and export across formats including XLSX, ODS, XLS, YAML, CSV, JSON, and HTML. The root cause (CWE-79: Improper Neutralization of Input During Web Page Generation) is in src/tablib/formats/_html.py: the export_book method used a Python f-string to embed the dataset title directly between HTML tags - f'<{cls.BOOK_ENDINGS}>{title}</{cls.BOOK_ENDINGS}>' - without calling html.escape() or any equivalent. Because worksheet names in XLSX, ODS, and YAML files are user-controlled strings that tablib assigns to the Dataset.title attribute, any HTML or JavaScript placed in a sheet name flows unmodified into the HTML output. The fix in PR #668 replaces the f-string with xml.etree.ElementTree element construction, which escapes special characters automatically; the added regression test confirms <script>BOOM</script> is rendered as <script>BOOM</script> post-fix.
Know when Tablib gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Stored XSS requires authenticated file upload (PR:L), victim browser render (UI:R), and achieves a scope change (S:C) executing script in the victim's browser context with low confidentiality and integrity impact.
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise High Performance Computing 12 | Affected |
| SUSE Linux Enterprise Module for Public Cloud 12 | Affected |
| SUSE Linux Enterprise Server 12 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | Affected |
| SUSE Linux Enterprise Server 12 | Affected |
| SUSE Linux Enterprise Server 12 SP3 | Affected |
| SUSE Linux Enterprise Server 12 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Affected |
| SUSE OpenStack Cloud 6 | Affected |
| SUSE OpenStack Cloud 6-LTSS | Affected |
| SUSE OpenStack Cloud 7 | Affected |
| SUSE OpenStack Cloud 8 | Affected |
| SUSE OpenStack Cloud Crowbar 8 | Affected |
EUVD-2026-57063
GHSA-gqgw-jghv-mxwx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB