GHSA-x7m8-jrm8-hpvx: XSS

Published Sep 10, 2026
·
Updated

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 Software

2 affected componentsFixes available
npm/@eigenpal/docx-editor-react<=1.8.2
1.8.3
npm/@eigenpal/docx-editor-core<=1.8.2
1.8.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/@eigenpal/docx-editor-react to a version that resolves this vulnerability.

    Fixed in 1.8.3
  2. Upgrade

    Upgrade npm/@eigenpal/docx-editor-core to a version that resolves this vulnerability.

    Fixed in 1.8.3
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.8.3

Event History

Sep 10, 2026
Advisory Published
via GitHub·03:06 PM
Data Sourced
via GitHub·03:06 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What attacker interaction is required to trigger the vulnerability?

Opening a crafted .docx applies attacker-controlled CSS page-wide with no additional clicks. Script execution requires the user to click Print after opening the document.

2

What is the impact before a user prints the document?

A malicious embedded font-family name can inject CSS across the page when the document is opened. The advisory identifies overlay or phishing attacks, attribute-selector exfiltration of input values, and tracking beacons as possible effects.

3

Which components should be upgraded?

Upgrade npm/@eigenpal/docx-editor-react and npm/@eigenpal/docx-editor-core to version 1.8.3. This release CSS-escapes font names and replaces print-window document.write() assembly with DOM APIs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203