Xdocreport
CVE-2025-64087
CRITICAL
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Impact | CVSS 9.8 — SSTI vulnerabilities typically provide direct path to RCE with the web application's privileges. |
| Exploit ScenarioDerived | An attacker injects template engine syntax (e.g., {{config.__class__.__init__.__globals__['os'].popen('id').read()}}) into a user input field, achieving OS command execution on the server. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
A server-side template injection vulnerability (CWE-1336) with CVSS 9.8 allows remote attackers to execute arbitrary code through crafted template expressions.
Earlier versions of this analysis (1)
Server-side template injection enables remote code execution through crafted expressions.
RemediationAI
Sanitize all user input before template rendering. Use sandboxed template engines. Apply vendor patches.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This CWE-1336 vulnerability involves improper neutralization of special elements used in template engine expressions. Attackers can inject template syntax that the server-side engine evaluates, leading to arbitrary code execution.
Know when Xdocreport gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A Server-Side Template Injection (SSTI) vulnerability in the FreeMarker component of opensagres XDocReport v1.0.0 to v2.1.0 allows attackers to execute arbitrary code via injecting crafted template expressions.
Executive ViewAI
Organizations using the FreeMarker component of opensagres XDocReport face critical risk from CVE-2025-64087 rated CVSS 9.8. Successful exploitation could critically impact the confidentiality, integrity, and availability of affected systems. Organizations should apply vendor updates immediately when available and implement compensating controls in the interim.
Apply vendor patch. If immediate patching is not feasible: (1) Implement network-level access controls to limit exposure; (2) Enable enhanced monitoring and alerting; (3) Apply principle of least privilege.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
GHSA-r8w2-w357-9pjv
NVD
CVE.org
EPSS
Exploit-DB