Skip to content
Medium 6.1

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

CVE-2026-134010 First seen on SecPulse

Affected packages

PackageAffected → Fixed
GitHubNewbie0odf-kit —
npmodf-kit
≥ 0.9.8, < 0.14.2→ 0.14.2
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details