Bug 2582006 (CVE-2026-134010)

Summary: CVE-2026-134010 odf-kit: odf-kit: Cross-Site Scripting via unescaped style attributes in odsToHtml
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerability-draftAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in odf-kit. The library's odsToHtml() renderer inserts document-controlled cell formatting and row height values directly into HTML style attributes without proper escaping. A remote attacker can exploit this vulnerability by providing a crafted OpenDocument Spreadsheet (ODS) file, leading to Cross-Site Scripting (XSS) and executing arbitrary script code in the user's browser when an application renders the converted HTML.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-23 17:41:32 UTC
odf-kit is a TypeScript and JavaScript library for working with OpenDocument Format files. In versions 0.9.8 through 0.14.1, the odsToHtml() renderer inserts document-controlled cell formatting and row height values into HTML style attributes without escaping them. An attacker can craft an ODS file that injects arbitrary HTML attributes or elements, allowing JavaScript execution in the host page's origin when an application inserts the converted output as HTML. This issue is fixed in version 0.14.2.