{"id":"GHSA-r8w2-w357-9pjv","summary":"XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability","details":"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.","aliases":["CVE-2025-64087"],"modified":"2026-02-22T23:21:38.880397Z","published":"2026-01-20T18:31:57Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-01-21T16:56:50Z","nvd_published_at":"2026-01-20T16:16:06Z","cwe_ids":["CWE-1336"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64087"},{"type":"WEB","url":"https://github.com/opensagres/xdocreport/pull/705"},{"type":"WEB","url":"https://github.com/opensagres/xdocreport/commit/3b35d105e5ae2006bcaa2b07563188efc466711d"},{"type":"WEB","url":"https://github.com/AT190510-Cuong/CVE-2025-64087-SSTI-"},{"type":"PACKAGE","url":"https://github.com/opensagres/xdocreport"},{"type":"WEB","url":"https://hackmd.io/@cuongnh/BJEnw7SAlg"},{"type":"WEB","url":"https://hackmd.io/@cuongnh/SkQvhEf0lx"}],"affected":[{"package":{"name":"fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarker","ecosystem":"Maven","purl":"pkg:maven/fr.opensagres.xdocreport/fr.opensagres.xdocreport.template.freemarker"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}],"versions":["0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.6","2.1.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-r8w2-w357-9pjv/GHSA-r8w2-w357-9pjv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}