GitHub Advisoryadvisory · npm
GHSA-4q39-2jhr-7qx8 Plate: SSRF with response disclosure in DOCX image embedding
HIGH
Official page ↗
- Aliases
- CVE-2026-65842
- Ecosystem
- npm
- Packages
- @platejs/docx-io
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
- Weaknesses
- CWE-918
- Reviewed
- 2026-09-02
Affected packages
• npm @platejs/docx-io: < 53.3.2 → fixed in 53.3.2
Description
Summary
`@platejs/docx-io` can fetch remote image URLs while converting HTML to DOCX. When an application converts attacker-controlled HTML in a server-side or privileged environment, this can cause the application environment to make unintended outbound requests and include fetched image data in the generated DOCX.
Impact
Applications are affected when they use `@platejs/docx-io` to convert untrusted HTML that may contain remote image references, especially in server-side conversion workflows or environments with access to internal network resources.
Affected package:
• `@platejs/docx-io` versions `< 53.3.2`
Patched versions
Upgrade to `@platejs/docx-io` version `53.3.2` or later.
Workarounds
If you cannot upgrade immediately, do not pass untrusted HTML with remote image URLs to DOCX export. Sanitize untrusted HTML to remove remote image references, convert trusted images to data URIs before conversion, or run conversion in an environment with restricted outbound network access.
Credits
Thanks to EQSTLab for reporting this issue.
Related
Alias · CVE (1)
- CVE-2026-65842 Plate is a rich-text editor with AI and shadcn/ui. vulnerability
Weakness · CWE (1)
- CWE-918 Server-Side Request Forgery weakness
References
- https://github.com/udecode/plate/security/advisories/GHSA-4q39-2jhr-7qx8 web
- https://nvd.nist.gov/vuln/detail/CVE-2026-65842 advisory
- https://github.com/udecode/plate/pull/5053 web
- https://github.com/udecode/plate/commit/21aa59926f4bbd421027354823cca09c6700ed73 web
- https://github.com/udecode/plate package
- https://github.com/udecode/plate/releases/tag/v53.3.2 web