CVE-2025-64087
XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarker | 2.2.0 |
References
- https://github.com/AT190510-Cuong/CVE-2025-64087-SSTI-
- https://github.com/opensagres/xdocreport
- https://github.com/opensagres/xdocreport/commit/3b35d105e5ae2006bcaa2b07563188efc466711d
- https://github.com/opensagres/xdocreport/pull/705
- https://hackmd.io/@cuongnh/BJEnw7SAlg
- https://hackmd.io/@cuongnh/SkQvhEf0lx
- https://nvd.nist.gov/vuln/detail/CVE-2025-64087