CVE-2025-64087
CRITICAL 9.8CVSS 3.1XDocReport 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.
- Published
- 20 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-1336
- Also known as
- GHSA-r8w2-w357-9pjv
- Sources
- NVDJSONOSV GHSA-r8w2-w357-9pjvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | opensagres | xdocreportcpe:2.3:a:opensagres:xdocreport:*:*:*:*:*:*:*:* |
>= 1.0.0, <= 2.1.0 | |
| OSV | Maven | fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarker | < 2.2.0 | 2.2.0 |
References
- https://github.com/AT190510-Cuong/CVE-2025-64087-SSTI- · Broken Link, WEB
- https://github.com/opensagres/xdocreport · Product, PACKAGE
- https://github.com/opensagres/xdocreport/pull/705 · Issue Tracking, Third Party Advisory, WEB
- https://hackmd.io/@cuongnh/BJEnw7SAlg · Permissions Required, WEB
- https://hackmd.io/@cuongnh/SkQvhEf0lx · Permissions Required, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-64087 · ADVISORY
- https://github.com/opensagres/xdocreport/commit/3b35d105e5ae2006bcaa2b07563188efc466711d · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 20 Jan 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Jan 2026)