# CVE-2025-64087: XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-01-20T00:00:00.000Z
- Modified: 2026-06-17T09:53:48.063Z
- Also known as: GHSA-r8w2-w357-9pjv
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarker (Maven): before 2.2.0
- opensagres xdocreport: from 1.0.0 up to 2.1.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/opensagres/xdocreport> (package, product)
- <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://github.com/AT190510-Cuong/CVE-2025-64087-SSTI-> (broken-link, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64087> (advisory)
- <https://github.com/opensagres/xdocreport/commit/3b35d105e5ae2006bcaa2b07563188efc466711d> (web)

## Sources

- CVE List: [CVE-2025-64087](https://www.cve.org/CVERecord?id=CVE-2025-64087), CVE Terms of Use, modified 2026-01-21
- GitHub Advisory Database: [GHSA-r8w2-w357-9pjv](https://github.com/advisories/GHSA-r8w2-w357-9pjv), CC-BY-4.0, modified 2026-02-22
- NVD: [CVE-2025-64087](https://nvd.nist.gov/vuln/detail/CVE-2025-64087), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-64087 · Whole record: https://cve.day/CVE-2025-64087.json · Rebuilt by cve.day 2026-11-25T22:59:10.721Z
