{"id":"CVE-2026-53964","published":"2026-10-01T19:55:07Z","modified":"2026-10-01T20:13:16Z","title":"Document Merge Service vulnerable to RCE via SSTI (xlsx tempaltes)","vendor":"adfinis","product":"document-merge-service","tier":"tail","description":{"text":"Document Merge Service is a document template merge service providing an API to manage templates and merge them with given data. Prior to version 9.1.0, a remote code execution (RCE) via server-side template injection (SSTI) allows for user supplied code to be executed in the server's context where it is executed as the document-merge-server user with the UID 901 thus giving an attacker considerable control over the container. The vulnerability is limited to XLSX templates, were the xltpl library uses a npn-sandboxed Jinja environment for the processing of the template. This issue has been patched in version 9.1.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00886,"percentile":0.57056,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/adfinis/document-merge-service/security/advisories/GHSA-w47q-945m-q9pc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/adfinis/document-merge-service/releases/tag/v9.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":11.41},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"adfinis","affectedVersions":[{"vendor":"adfinis","product":"document-merge-service","versions":["< 9.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-01T20:12:41.561346Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"document-merge-service","vulnerableRanges":["<9.1.0"],"patched":["9.1.0"],"from":["GHSA-w47q-945m-q9pc","PYSEC-2026-3830"],"provenance":"source"}],"summary":{"text":"The Document Merge Service from adfinis contains a server-side template injection flaw in its XLSX template processing, which relies on the xltpl library's non-sandboxed Jinja environment. An attacker with high-privilege authenticated access to the service and the ability to upload or supply XLSX templates can execute arbitrary code in the server context as the document-merge-server user (UID 901), with no network-level prerequisites beyond reaching the API and no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:28Z"},"euvd":{"id":"EUVD-2026-91047","exploited":false,"provenance":"source"}}