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

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.38% (percentile 24, 2026-11-28)
- **CWE:** CWE-79
- **Published:** 2026-11-23T17:37:28.824Z
- **Modified:** 2026-11-23T22:20:12.800Z

## Who should check

- Anyone running GitHubNewbie0 odf-kit \>= 0.9.8, \< 0.14.2

## 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 and fixed versions

- GitHubNewbie0 odf-kit: \>= 0.9.8, \< 0.14.2 (cvelist)

## Mitigation

- Upgrade odf-kit to 0.14.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-134010. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-134010.md
Affected: GitHubNewbie0 odf-kit >= 0.9.8, < 0.14.2
Fixed in: GitHubNewbie0 odf-kit 0.14.2

Steps:
1. Search this machine and project for GitHubNewbie0 odf-kit: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-134010 being exploited?

There is no confirmed exploitation: CVE-2026-134010 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-134010?

Medium: CVSS 6.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-134010?

GitHubNewbie0 odf-kit \>= 0.9.8, \< 0.14.2.

### Is there a fix for CVE-2026-134010?

Yes. Fixed in GitHubNewbie0 odf-kit 0.14.2. Upgrade odf-kit to 0.14.2 or later.

### How do I check if I'm affected by CVE-2026-134010?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/GitHubNewbie0/odf-kit/security/advisories/GHSA-2rqm-h6hv-g79v>
- patch: <https://github.com/GitHubNewbie0/odf-kit/commit/1424227d1ca2716a249b623d1456575ff0331dcc>
- patch: <https://github.com/GitHubNewbie0/odf-kit/commit/aa64c734ebd7e7be40e35fcda83b1144193c3da2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-134010>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-134010> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-134010>
