Server-Side Request Forgery (SSRF) in Etherpad - #VU159244
Published: November 4, 2026
Vulnerability details
The vulnerability allows a remote user to issue server-side requests to internal services and disclose sensitive information through document exports.
The vulnerability exists due to improper URL normalization in isLocalSrc() in src/node/utils/ExportSanitizeHtml.ts when filtering image sources during document export. A remote user can supply a whitespace-prefixed remote image URL, such as <img src=" http://...">, that bypasses the anchored scheme check and survives stripRemoteImages(), causing the export converter to fetch the target from the server's network position. In native DOCX exports, the response bytes are embedded in the generated document as an image part.