{"id":"CVE-2025-64087","aliases":["EUVD-2026-3354","GHSA-r8w2-w357-9pjv"],"status":"published","title":"XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00586,"percentile":0.48298,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-1336"],"published":"2026-01-20T00:00:00Z","modified":"2026-10-28T02:30:58Z","exploits":[{"source":"pocgithub","id":"AT190510-Cuong/CVE-2025-64087-SSTI-","title":"AT190510-Cuong/CVE-2025-64087-SSTI-","date":"2025-11-24","url":"https://github.com/AT190510-Cuong/CVE-2025-64087-SSTI-"}],"fixes":[{"ecosystem":"Maven","package":"fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarker","fixed_in":["2.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"fr.opensagres.xdocreport:fr.opensagres.xdocreport.template.freemarker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"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"]}],"products":[{"vendor":"opensagres","product":"xdocreport"}],"references":[{"url":"https://github.com/opensagres/xdocreport","tags":["Product","package"]},{"url":"https://github.com/opensagres/xdocreport/pull/705","tags":["Issue Tracking","Third Party Advisory","fix","web"]},{"url":"https://hackmd.io/@cuongnh/BJEnw7SAlg","tags":["Permissions Required","web"]},{"url":"https://hackmd.io/@cuongnh/SkQvhEf0lx","tags":["Permissions Required","web"]},{"url":"https://github.com/AT190510-Cuong/CVE-2025-64087-SSTI-","tags":["Broken Link","package","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64087","tags":["advisory"]},{"url":"https://github.com/opensagres/xdocreport/commit/3b35d105e5ae2006bcaa2b07563188efc466711d","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r8w2-w357-9pjv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64087.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-64087","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.","status":"published","published":"2026-01-20T00:00:00Z","modified":"2026-01-21T14:34:26.011Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-1336"],"updated_at":"2026-11-02T14:32:46.750177Z"}],"euvd":[{"id":"EUVD-2026-3354","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.","status":"published","published":"2026-01-20T00:00:00Z","modified":"2026-01-21T14:34:26Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T19:48:49.964072Z"}],"ghsa":[{"id":"GHSA-r8w2-w357-9pjv","title":"XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability","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.","status":"published","published":"2026-01-20T18:31:57Z","modified":"2026-02-12T19:51:03Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-1336"],"updated_at":"2026-11-02T14:39:24.742346Z"}],"nvd":[{"id":"CVE-2025-64087","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.","status":"published","published":"2026-01-20T16:16:06.07Z","modified":"2026-06-17T09:53:48.063Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-1336"],"updated_at":"2026-11-02T14:11:57.915063Z"}],"osv":[{"id":"CVE-2025-64087","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.","status":"published","published":"2026-01-20T00:00:00Z","modified":"2026-10-28T02:30:58.631346056Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:51.851511Z"},{"id":"GHSA-r8w2-w357-9pjv","title":"XDocReport affected by a Server-Side Template Injection (SSTI) vulnerability","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.","status":"published","published":"2026-01-20T18:31:57Z","modified":"2026-02-22T23:21:38.880397Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-1336"],"updated_at":"2026-11-02T15:46:55.480549Z"}]}}
