Server-side Request Forgery (SSRF) Affecting @platejs/docx-io package, versions <53.3.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PLATEJSDOCXIO-19233388
  • published23 Aug 2026
  • disclosed20 Aug 2026
  • creditMinseo Jwa, EQSTLab

Introduced: 20 Aug 2026

NewCVE-2026-65842  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade @platejs/docx-io to version 53.3.2 or higher.

Overview

@platejs/docx-io is a DOCX import/export for Plate - file-based document conversion

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the buildImage and buildParagraph functions in render-document-file.ts and xml-builder.ts, which unconditionally fetch remote image URLs embedded in HTML content during DOCX export. An attacker who can supply HTML with arbitrary <img src="..."> URLs can cause the server to issue outbound HTTP requests to attacker-controlled or internal network endpoints, enabling SSRF and potentially exposing internal services or sensitive data. The fix introduces an allowRemoteImages option that defaults to false, blocking all remote URL fetches unless explicitly opted in.

CVSS Base Scores

version 4.0
version 3.1