Description
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.
Published: 2026-10-01
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is a server‑side template injection in the xltpl library used by the Document Merge Service. It allows an attacker to supply malicious code in an XLSX template uploaded through the merge API, which is executed in a Jinja environment running as the document‑merge‑server user with UID 901. The resulting code execution grants the attacker substantial control over the container, enabling further lateral movement or persistence.

Affected Systems

adfinis Document Merge Service versions prior to 9.1.0 are affected. All releases before 9.1.0 can be exploited when XLSX templates are processed.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity, and the vulnerability can be exploited remotely by uploading a crafted XLSX file to the exposed API. The EPSS score is not available, but the lack of a KEV listing suggests no known public exploits yet. Nonetheless, the capability for code execution makes it a high‑risk exposure that should be remediated promptly.

Generated by OpenCVE AI on October 1, 2026 at 21:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Document Merge Service to version 9.1.0 or later to apply the SSTI fix.
  • Restrict the merge API to trusted users or isolated networks to limit exposure to unauthorized template uploads.
  • If an upgrade cannot be performed immediately, disable XLSX template processing or block the xltpl library until the vulnerability is patched.

Generated by OpenCVE AI on October 1, 2026 at 21:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-w47q-945m-q9pc Document Merge Service vulnerable to RCE via SSTI (xlsx tempaltes)
History

Thu, 01 Oct 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Adfinis
Adfinis document Merge Service
Vendors & Products Adfinis
Adfinis document Merge Service

Thu, 01 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 01 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Document Merge Service vulnerable to RCE via SSTI (xlsx tempaltes)
Weaknesses CWE-1336
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Adfinis Document Merge Service
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-01T20:13:16.003Z

Reserved: 2026-06-11T15:50:01.282Z

Link: CVE-2026-53964

cve-icon Vulnrichment

Updated: 2026-10-01T20:13:11.004Z

cve-icon NVD

Status : Received

Published: 2026-10-01T20:17:25.440

Modified: 2026-10-01T21:17:21.417

Link: CVE-2026-53964

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T22:00:17Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine