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

Published Updated

A crafted ODS file can inject HTML attributes into odf-kit's HTML output, running JavaScript in the host page when apps render it as HTML.

CVSS score

Medium

6.1/10

CVSS 3.1 · Scored by GitHub Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
0.14.2
Attack path
Over the internet
No login, a user must click or open something

What is CVE-2026-134010?

CVE-2026-134010 is a medium-severity cross-site scripting vulnerability in GitHubNewbie0 odf-kit, published on 23 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

How severe is CVE-2026-134010?

CVE-2026-134010 scores 6.1 out of 10 under CVSS 3.1, which is medium severity. It was scored by GitHub.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Which versions are affected by CVE-2026-134010?

1 open source package ship an affected version, including odf-kit.

An affected version is only exploitable if your software calls odsToHtml(). Many projects that include it are not exposed.

PackageAffectedFixed in
odf-kit npm
pkg:npm/odf-kit
From 0.9.80.14.2
Status by vendor 1
WhoReleaseStatusPackages
Upstreamfixedodf-kit (0.14.2)
pkg:npm/odf-kit

How do I fix CVE-2026-134010?

Upgrade odf-kit to 0.14.2 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-134010 being exploited?

There is no known exploitation of CVE-2026-134010 in the wild and no public exploit code.

Sources

Also known as GHSA-2rqm-h6hv-g79v.

Is CVE-2026-134010 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free