CVE-2026-53964

Document Merge Service vulnerable to RCE via SSTI (xlsx tempaltes)

Published Oct 1, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
First Time appeared Adfinis
Adfinis document Merge Service
Vendors & Products Adfinis
Adfinis document Merge Service
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 1, 2026, 8:13 PM
Reserved
Jun 11, 2026, 3:50 PM
Status
Deferred
Published
Oct 1, 2026, 8:17 PM
Modified
Oct 2, 2026, 6:47 PM