CVE-2026-113787: Stored Cross-Site Scripting via Unescaped Style Attributes in odf-kit
Vulnerability ID: CVE-2026-113787
CVSS Score: 6.1
Published: 2026-11-04
CVE-2026-113787 is a stored Cross-Site Scripting (XSS) and HTML injection vulnerability affecting the odf-kit npm package from version 0.6.0 prior to 0.14.2. The HTML conversion engines (odtToHtml and odsToHtml) interpolate document-controlled styling and image attributes directly into inline style and src attributes without escaping double-quote characters. A remote attacker can supply a crafted .odt or .ods document to break out of HTML attribute boundaries and execute arbitrary JavaScript in the context of any web application rendering the converted HTML.
TL;DR
Versions 0.6.0 through 0.14.1 of odf-kit fail to escape double quotes when rendering inline CSS styles and image data URIs during ODT and ODS to HTML conversion, enabling stored XSS via crafted OpenDocument files.
⚠️ Exploit Status: POC
Technical Details
Vulnerability Type : CWE-79:…