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

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-10-23T20:55:31.000Z
- Modified: 2026-11-23T22:20:12.800Z
- Also known as: GHSA-2rqm-h6hv-g79v
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- GitHubNewbie0 odf-kit: >= 0.9.8, < 0.14.2
- odf-kit (npm): from 0.9.8 before 0.14.2

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/GitHubNewbie0/odf-kit/security/advisories/GHSA-2rqm-h6hv-g79v> (web)
- <https://github.com/GitHubNewbie0/odf-kit/commit/1424227d1ca2716a249b623d1456575ff0331dcc> (web)
- <https://github.com/GitHubNewbie0/odf-kit/commit/aa64c734ebd7e7be40e35fcda83b1144193c3da2>
- <https://github.com/GitHubNewbie0/odf-kit> (package)

## Sources

- CVE List: [CVE-2026-134010](https://www.cve.org/CVERecord?id=CVE-2026-134010), CVE Terms of Use, modified 2026-11-23
- GitHub Advisory Database: [GHSA-2rqm-h6hv-g79v](https://github.com/advisories/GHSA-2rqm-h6hv-g79v), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-134010](https://nvd.nist.gov/vuln/detail/CVE-2026-134010), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134010 · Whole record: https://cve.day/CVE-2026-134010.json · Rebuilt by cve.day 2026-11-25T22:59:52.689Z
