Every CVESearch/Get API key

GHSA-x7m8-jrm8-hpvx

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

8.1 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

What each source reports

GitHub Advisories Score used8.1

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

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.

Record
GHSA-x7m8-jrm8-hpvx
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV8.1

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

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.

Record
GHSA-x7m8-jrm8-hpvx
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
@eigenpal/docx-editor-core
npm
through 1.8.2
1.8.3
@eigenpal/docx-editor-react
npm
through 1.8.2
1.8.3
@eigenpal/docx-editor-core
npm
before 1.8.3
1.8.3
@eigenpal/docx-editor-react
npm
before 1.8.3
1.8.3

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-x7m8-jrm8-hpvx is a high vulnerability (CVSS 8.1) in @eigenpal/docx-editor-react, published September 10, 2026. No source lists public exploit code. Fixed in @eigenpal/docx-editor-core 1.8.3.

References

MoveEnter Open