{"answers":{"affected":"4 open source packages ship an affected version, including @eigenpal/docx-editor-core and @eigenpal/docx-editor-react.","exploited":"There is no known exploitation of GHSA-x7m8-jrm8-hpvx in the wild and no public exploit code.","fix":"Upgrade @eigenpal/docx-editor-core to 1.8.3 or later.","what":"GHSA-x7m8-jrm8-hpvx is a cross-site scripting vulnerability in @eigenpal/docx-editor-core, published on 10 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for GHSA-x7m8-jrm8-hpvx and fix it if it is affected.\n\nWhat it is: GHSA-x7m8-jrm8-hpvx is a cross-site scripting vulnerability in @eigenpal/docx-editor-core, published on 10 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of GHSA-x7m8-jrm8-hpvx in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @eigenpal/docx-editor-core (npm): affected all versions; fixed in 1.8.3\n- @eigenpal/docx-editor-core (npm): affected all versions; fixed in 1.8.3\n- @eigenpal/docx-editor-react (npm): affected all versions; fixed in 1.8.3\n- @eigenpal/docx-editor-react (npm): affected all versions; fixed in 1.8.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-x7m8-jrm8-hpvx/ (Markdown: https://insights.sbomify.com/GHSA-x7m8-jrm8-hpvx/index.md)","id":"GHSA-x7m8-jrm8-hpvx","markdown":"https://insights.sbomify.com/GHSA-x7m8-jrm8-hpvx/index.md","name":"GHSA-x7m8-jrm8-hpvx","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"React docx editor library","requires_auth":"none","summary":"Attackers can inject CSS or execute scripts via crafted font names in .docx files, leading to data exfiltration or code execution when users open or print documents.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"## Summary\nEmbedded font-family names (`word/fontTable.xml`) were interpolated unescaped into an injected `@font-face` `\u003cstyle\u003e` and into the print window's `document.write()`. A crafted name injects page-wide CSS on open, and breaks out of `\u003cstyle\u003e`\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, `\u003c \u003e`, and CSS newlines), and the print window is assembled with DOM APIs instead of `document.write`.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"@eigenpal/docx-editor-react: CSS injection and print-time XSS via unescaped embedded font-family name","id":"GHSA-x7m8-jrm8-hpvx","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["1.8.3"],"introduced":["0"],"last_affected":[],"package":"@eigenpal/docx-editor-core","purl":null,"source":"GHSA-x7m8-jrm8-hpvx"},{"ecosystem":"npm","fixed":["1.8.3"],"introduced":["0"],"last_affected":[],"package":"@eigenpal/docx-editor-core","purl":"pkg:npm/%40eigenpal/docx-editor-core","source":"GHSA-x7m8-jrm8-hpvx"},{"ecosystem":"npm","fixed":["1.8.3"],"introduced":["0"],"last_affected":[],"package":"@eigenpal/docx-editor-react","purl":null,"source":"GHSA-x7m8-jrm8-hpvx"},{"ecosystem":"npm","fixed":["1.8.3"],"introduced":["0"],"last_affected":[],"package":"@eigenpal/docx-editor-react","purl":"pkg:npm/%40eigenpal/docx-editor-react","source":"GHSA-x7m8-jrm8-hpvx"}],"products":null,"published":"2026-09-10","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can inject CSS or execute scripts via crafted font names in .docx files, leading to data exfiltration or code execution when users open or print documents.","url":"https://insights.sbomify.com/GHSA-x7m8-jrm8-hpvx/"}