# Document Engine <= 2.1.0 - Authenticated (Author+) Server-Side Request Forgery via Post to PDF

- **ID:** WPSEC-2026-0594
- **Plugin:** Document Engine – Document Library, PDF Viewer & Post to PDF (`document-engine`), https://wordpress.org/plugins/document-engine/
- **Affected versions:** all versions before 2.2.0
- **Fixed in:** 2.2.0 (Update to 2.2.0 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-918
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-08)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/document-engine
- **Fix released:** 2026-10-06
- **Published:** 2026-10-07
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0594/

## Description

The Document Engine plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 2.1.0 via the Post to PDF feature. This is due to insufficient validation of the image and stylesheet addresses fetched while a PDF is generated. This makes it possible for authenticated attackers, with author-level access and above, to make web requests to arbitrary locations originating from the web application, including internal addresses, when a PDF of their post is generated.

## References

- https://wpsec.com/vuln/WPSEC-2026-0594/
- https://plugins.svn.wordpress.org/document-engine/tags/2.2.0/
- https://wordpress.org/plugins/document-engine/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0594/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
