Skip to content
CVE PROGRAM SOURCE RECORD6.1 Medium

CVE-2026-134010

odf-kit: HTML injection leads to XSS in odsToHtml() via unescaped style attribute values

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

GitHubNewbie0 odf-kit

  • >= 0.9.8, < 0.14.2affected

References