CVE-2026-134010
MEDIUM 6.1CVSS 3.1odf-kit: HTML injection leads to XSS in odsToHtml() via unescaped style attribute values
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.
- Published
- 23 Nov 2026
- Last modified
- 23 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-79
- Also known as
- GHSA-2rqm-h6hv-g79v
- Sources
- NVDJSONCVE ListJSONOSV GHSA-2rqm-h6hv-g79vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | GitHub_M | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | GitHubNewbie0 | odf-kit | = >= 0.9.8, < 0.14.2 | |
| OSV | npm | odf-kit | >= 0.9.8, < 0.14.2 | 0.14.2 |
References
- https://github.com/GitHubNewbie0/odf-kit/commit/1424227d1ca2716a249b623d1456575ff0331dcc · x_refsource_MISC, WEB
- https://github.com/GitHubNewbie0/odf-kit/commit/aa64c734ebd7e7be40e35fcda83b1144193c3da2 · x_refsource_MISC
- https://github.com/GitHubNewbie0/odf-kit/security/advisories/GHSA-2rqm-h6hv-g79v · x_refsource_CONFIRM, WEB
- https://github.com/GitHubNewbie0/odf-kit · PACKAGE
History
- 25 Nov 2026 20:34 UTC · CVE List: first stored (published 23 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 23 Nov 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 23 Oct 2026)