Improper Neutralization of Special Elements Used in a Template Engine Affecting calibre package, versions <9.2.0+ds+~0.10.5-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.24% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-CALIBRE-15247979
  • published7 Feb 2026
  • disclosed6 Feb 2026

Introduced: 6 Feb 2026

CVE-2026-25731  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade Debian:unstable calibre to version 9.2.0+ds+~0.10.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream calibre package and not the calibre package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.