CVE Explorer
CVE-2026-25731
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"calibre","vendor":"kovidgoyal","versions":[{"status":"affected","version":"< 9.2.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:49db528f7b90ef02c55b968fc2f17b63fd517e01d285eecd3746edbd9ced548f · sha256:8c493c83b22eb6c6… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:49db528f7b90ef02c55b968fc2f17b63fd517e01d285eecd3746edbd9ced548f · sha256:8c493c83b22eb6c6… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-1336","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:49db528f7b90ef02c55b968fc2f17b63fd517e01d285eecd3746edbd9ced548f · sha256:8c493c83b22eb6c6… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/kovidgoyal/calibre/commit/f0649b27512e987b95fcab2e1e0a3bcdafc23379","tags":["x_refsource_MISC"],"url":"https://github.com/kovidgoyal/calibre/commit/f0649b27512e987b95fcab2e1e0a3bcdafc23379"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:49db528f7b90ef02c55b968fc2f17b63fd517e01d285eecd3746edbd9ced548f · sha256:8c493c83b22eb6c6… · /containers/cna/references/1
{"name":"https://github.com/kovidgoyal/calibre/security/advisories/GHSA-xrh9-w7qx-3gcc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/kovidgoyal/calibre/security/advisories/GHSA-xrh9-w7qx-3gcc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:49db528f7b90ef02c55b968fc2f17b63fd517e01d285eecd3746edbd9ced548f · sha256:8c493c83b22eb6c6… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.