odf-kit: HTML injection leading to XSS in odtToHtml() and odsToHtml() via unescaped style attribute values — GHSA-3CGG-C5PP-57H6
GitHub · GitHub · GHSA-3CGG-C5PP-57H6
ID
GHSA-3CGG-C5PP-57H6
GHSA-3CGG-C5PP-57H6
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
medium
medium
CVSS
6.1
6.1
EPSS
0.00246
0.00246
Summary
### Summary ODF style attribute values are interpolated into `style="..."` attributes without HTML-escaping in **both** of odf-kit's to-HTML renderers (`odtToHtml` and `odsToHtml`). A double-quote character inside an attacker-controlled style value breaks out of the attribute, allowing arbitrary HTML/attribute injection — and therefore script execution (XSS) — from a crafted `.odt` or `.ods` file wherever the…
Timeline
- Published by source
- 2026-11-04
Risk context
- Reported severity or threat level: medium.
- Reported CVSS score: 6.1 out of 10.
- Reported EPSS value: 0.00246.
- Review exposure for the affected product or family: npm: odf-kit.
Product
npm: odf-kit
What to do
General, cautious steps (verify details in the official source):
- Review exposure and plan remediation based on risk and environment.
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-3CGG-C5PP-57H6
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-11-04
- Last source activity
- 2026-11-04
- Additional identifiers
- CVE-2026-113787
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.