Advisory

GHSA-4q39-2jhr-7qx8

Also known as: CVE-2026-65842

Summary

Plate: SSRF with response disclosure in DOCX image embedding

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-09-02 22:14 UTC
Modified
2026-09-02 22:30 UTC

Affected packages and fixes

@platejs/docx-io

npm · All systems

Affected

  • introduced 0, fixed 53.3.2 (semver)

Fixed versions

53.3.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences