CVE-2024-37301
HIGH 7.2CVSS 3.1document-merge-service vulnerable to Remote Code Execution via Server-Side Template Injection
Document Merge Service is a document template merge service providing an API to manage templates and merge them with given data. Versions 6.5.1 and prior are vulnerable to remote code execution via server-side template injection which, when executed as root, can result in full takeover of the affected system. As of time of publication, no patched version exists, nor have any known workarounds been disclosed.
- Published
- 11 Jun 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1336
- Also known as
- GHSA-v5gf-r78h-55q6PYSEC-2026-1314
- Sources
- NVDJSONOSV GHSA-v5gf-r78h-55q6JSONOSV PYSEC-2026-1314JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | document-merge-service | < 6.5.2 | 6.5.2 |
References
- https://github.com/adfinis/document-merge-service/commit/a1edd39d33d1bdf75c31ea01c317547be90ca074 · WEB
- https://github.com/adfinis/document-merge-service/security/advisories/GHSA-v5gf-r78h-55q6 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-37301 · ADVISORY
- https://github.com/adfinis/document-merge-service · PACKAGE
- https://pypi.org/project/document-merge-service · PACKAGE
- https://github.com/advisories/GHSA-v5gf-r78h-55q6 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 11 Jun 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Jun 2024)