{"id":"GHSA-x7m8-jrm8-hpvx","revision":"a2bdf65941594d4c8a7d1f9594188684","records":[{"revision":"a2bdf65941594d4c8a7d1f9594188684","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-x7m8-jrm8-hpvx","aliases":[],"title":"@eigenpal/docx-editor-react: CSS injection and print-time XSS via unescaped embedded font-family name","description":"## Summary\nEmbedded font-family names (`word/fontTable.xml`) were interpolated unescaped into an injected `@font-face` `<style>` and into the print window's `document.write()`. A crafted name injects page-wide CSS on open, and breaks out of `<style>`\n  into executable HTML on Print.\n\n## Impact\nOpening a crafted `.docx` applies attacker-controlled CSS page-wide with zero clicks (overlay/phishing, attribute-selector exfiltration of input values, tracking beacons). Clicking Print escalates to script execution in the embedder's origin.\n\n## Remediation\nUpgrade to 1.8.3. Font names are CSS-escaped before interpolation (quotes, backslash, `< >`, and CSS newlines), and the print window is assembled with DOM APIs instead of `document.write`.","state":0,"publishedAt":"2026-09-10T15:06:16+00:00","modifiedAt":"2026-09-10T15:15:06.0046374+00:00","affected":[{"ecosystem":"npm","name":"@eigenpal/docx-editor-core","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.8.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@eigenpal/docx-editor-react","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.8.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/eigenpal/docx-editor/security/advisories/GHSA-x7m8-jrm8-hpvx","https://github.com/eigenpal/docx-editor"],"sourceUrl":"https://github.com/advisories/GHSA-x7m8-jrm8-hpvx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-x7m8-jrm8-hpvx","identifiers":["GHSA-x7m8-jrm8-hpvx"]},"retained":false,"historicalAffected":[]}],"coverage":[]}