# CVE-2025-64087

SSTI in FreeMarker of XDocReport v1.0.0–v2.1.0 allows remote code execution.

- Page: https://www.vulneraibility.com/cve/CVE-2025-64087
- CVSS: 9.8
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.59% (percentile 48.9)
- Unvetted proof-of-concept code on GitHub: 1 GitHub proof of concept (first 2025-11-24)
- CISA SSVC: exploitation poc, automatable yes, technical impact total (assessed 2026-01-21)
- Weakness: CWE-1336
- Published: 2026-01-20

## Affected

- opensagres XDocReport (FreeMarker) v1.0.0–v2.1.0

## Impact

Remote code execution via crafted FreeMarker SSTI; attacker can run arbitrary commands on the server.

## Action

Patch when possible

## Recommendation

Upgrade to patched XDocReport/FreeMarker release when available

## References

- [other] https://github.com/opensagres/xdocreport
- [other] https://github.com/opensagres/xdocreport/pull/705
- [other] https://hackmd.io/@cuongnh/BJEnw7SAlg
- [other] https://hackmd.io/@cuongnh/SkQvhEf0lx
- [other] https://github.com/AT190510-Cuong/CVE-2025-64087-SSTI-

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
