opensagres/xdocreport · Security
XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability
- GHSA ID
- GHSA-r8w2-w357-9pjv
- CVE ID
- CVE-2025-64087
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-64087 ↗
- https://github.com/opensagres/xdocreport/pull/705 ↗
- https://github.com/AT190510-Cuong/CVE-2025-64087-SSTI- ↗
- https://hackmd.io/@cuongnh/BJEnw7SAlg ↗
- https://hackmd.io/@cuongnh/SkQvhEf0lx ↗
- https://github.com/opensagres/xdocreport/commit/3b35d105e5ae2006bcaa2b07563188efc466711d ↗
- https://github.com/advisories/GHSA-r8w2-w357-9pjv ↗