GHSA-4q39-2jhr-7qx8

Suggest an improvement
Source
https://github.com/advisories/GHSA-4q39-2jhr-7qx8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-4q39-2jhr-7qx8/GHSA-4q39-2jhr-7qx8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4q39-2jhr-7qx8
Aliases
Published
2026-09-02T22:14:54Z
Modified
2026-09-02T22:30:05Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-918"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-02T22:14:54Z",
    "nvd_published_at": "2026-08-20T17:19:23Z",
    "severity": "HIGH"
}
References

Affected packages

npm / @platejs/docx-io

Package

Name
@platejs/docx-io
View open source insights on deps.dev
Purl
pkg:npm/%40platejs/docx-io

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
53.3.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-4q39-2jhr-7qx8/GHSA-4q39-2jhr-7qx8.json"