CVE-2025-64087 Details
Description
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.
A Server-Side Template Injection (SSTI) vulnerability has been identified in the FreeMarker component of OpenSAGRES XDocReport, affecting versions 1.0.0 through 2.1.0. This vulnerability allows attackers to execute arbitrary code by injecting crafted template expressions into DOCX files. The issue arises because the application processes these files using the FreeMarker template engine without proper input validation or filtering, enabling remote code execution on the server.
Users can update to the latest version of OpenSAGRES XDocReport, where this vulnerability has been addressed. Instructions for updating can be found in the project's documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/AT190510-Cuong/CVE-2025-64087-SSTI- | [email protected] | Broken Link |
| https://github.com/opensagres/xdocreport | [email protected] | Product |
| https://github.com/opensagres/xdocreport/pull/705 | [email protected] | Issue TrackingThird Party Advisory |
| https://hackmd.io/@cuongnh/BJEnw7SAlg | [email protected] | Permissions Required |
| https://hackmd.io/@cuongnh/SkQvhEf0lx | [email protected] | Permissions Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| opensagres xdocreport | >= 1.0.0, <= 2.1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 3, 2026 | Initial Analysis | [email protected] |
| Jan 21, 2026 | CVE Modified | CISA-ADP |
| Jan 20, 2026 | New CVE Received | [email protected] |