{"id":"CVE-2026-25731","published":"2026-02-06T20:14:35Z","modified":"2026-02-06T21:02:01Z","title":"Calibre Affected by Arbitrary Code Execution via Server-Side Template Injection in Calibre HTML Export","vendor":"kovidgoyal","product":"calibre","tier":"tail","description":{"text":"calibre is an e-book manager. Prior to 9.2.0, a Server-Side Template Injection (SSTI) vulnerability in Calibre's Templite templating engine allows arbitrary code execution when a user converts an ebook using a malicious custom template file via the --template-html or --template-html-index command-line options. This vulnerability is fixed in 9.2.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00309,"percentile":0.16253,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/kovidgoyal/calibre/security/advisories/GHSA-xrh9-w7qx-3gcc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kovidgoyal/calibre/commit/f0649b27512e987b95fcab2e1e0a3bcdafc23379","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":3.25},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-02-06","earliestUrl":"https://github.com/dxlerYT/CVE-2026-25731","repos":[{"name":"dxlerYT/CVE-2026-25731","url":"https://github.com/dxlerYT/CVE-2026-25731","stars":4,"created":"2026-02-06"}]},"first":{"date":"2026-02-06","source":"PoC-in-GitHub","url":"https://github.com/dxlerYT/CVE-2026-25731"},"provenance":"source"},"vendorSlug":"kovidgoyal","affectedVersions":[{"vendor":"kovidgoyal","product":"calibre","versions":["< 9.2.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-02-06T21:01:31.473045Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-5573","exploited":false,"provenance":"source"}}