GHSA-x7m8-jrm8-hpvx

    Dashboard / Vulnerabilities / GHSA-x7m8-jrm8-hpvx

    GHSA-x7m8-jrm8-hpvx

    Published: 10 Sept 2026Last Modified: 10 Sept 2026

    Summary: @eigenpal/docx-editor-react: CSS injection and print-time XSS via unescaped embedded font-family name

    Details: ## Summary Embedded 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>` into executable HTML on Print. ## Impact Opening 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. ## Remediation Upgrade 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`.

    Affected packages

    Package

    Name: @eigenpal/docx-editor-core

    Purl: pkg:npm/%40eigenpal/docx-editor-core

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.8.3

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High