odf-kit has HTML injection leading to XSS in odsToHtml() via unescaped style attribute values
影響: npm:odf-kit >= 0.9.8, < 0.14.2 → 0.14.2
ODF style values are interpolated into style="..." attributes without HTML-escaping in odf-kit's ODS to-HTML renderer (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 .ods file wherever the rendered output is inserted as HTML, which is the documented purpose of the function. Details Two emission sites in src/ods/to-html/html-renderer.t…
| 정보원 | GitHub Advisory Database |
|---|---|
| 수집 시각 | 2026. 10. 24. 오후 01:50 |
| 데이터 | Markdown JSON |
2026. 10. 24. 오전 05:55, GitHub Advisory Database에서 "odf-kit has HTML injection leading to XSS in odsToHtml() via unescaped style attribute values"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "보통"(medium)입니다. 관련 기술: JavaScript / Node.js.