CVE-2025-64087
Opensagres Xdocreport 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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Xdocreport. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Opensagres Xdocreport runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/opensagres/xdocreport/pull/705 · Third Party Advisory
- github.com/AT190510-Cuong/CVE-2025-64087-SSTI-
- github.com/opensagres/xdocreport
- hackmd.io/@cuongnh/BJEnw7SAlg
- hackmd.io/@cuongnh/SkQvhEf0lx
- nvd.nist.gov/vuln/detail/CVE-2025-64087
- github.com/opensagres/xdocreport/commit/3b35d105e5ae2006bcaa2b07563188efc466711d
- github.com/advisories/GHSA-r8w2-w357-9pjv
- nvd.nist.gov/vuln/detail/CVE-2025-64087
- cve.org/CVERecord?id=CVE-2025-64087
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.