CVE-2025-64087
XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.8
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.
- Record
CVE-2025-64087- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1336
- Updated
- 2026-11-02
EUVDEUVD-2026-3354
9.8
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.
- Record
EUVD-2026-3354- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-r8w2-w357-9pjv
9.8
XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability
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.
- Record
GHSA-r8w2-w357-9pjv- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1336
- Updated
- 2026-11-02
NVD
9.8
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.
- Record
CVE-2025-64087- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1336
- Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2025-64087- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-r8w2-w357-9pjv
9.8
XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability
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.
- Record
GHSA-r8w2-w357-9pjv- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-1336
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarkerMaven |
before 2.2.0 | 2.2.0 |
fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarkerMaven |
before 2.2.0, plus listed versions 0.9.20.9.30.9.40.9.50.9.6 Show 16 moreShow less0.9.70.9.81.0.01.0.11.0.21.0.31.0.41.0.51.0.62.0.02.0.12.0.22.0.32.0.42.0.62.1.0 |
2.2.0 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | AT190510-Cuong/CVE-2025-64087-SSTI- | 2025-11-24 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-64087 is a critical vulnerability (CVSS 9.8) in Opensagres Xdocreport, published January 20, 2026. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.59%, the 48th percentile. Fixed in fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarker 2.2.0.
References
github.com/opensagres/xdocreport
github.com/opensagres/xdocreport/pull/705
hackmd.io/@cuongnh/BJEnw7SAlg
hackmd.io/@cuongnh/SkQvhEf0lx
github.com/AT190510-Cuong/CVE-2025-64087-SSTI-
nvd.nist.gov/vuln/detail/CVE-2025-64087
github.com/opensagres/xdocreport/commit/3b35d105e5ae2006bcaa2b07563188efc466711d
github.com/advisories/GHSA-r8w2-w357-9pjv
github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64087.json