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


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-DEBIAN13-CALIBRE-15247975
  • 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:13 calibre to version 8.5.0+ds-1+deb13u2 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:13 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.