Debian Security Advisory

DLA-3158-1 wkhtmltopdf -- LTS security update

Date Reported:
24 Oct 2022
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2020-21365.
More information:

It was found that wkhtmltopdf, a command line utility to render HTML files into PDF, allowed local filesystem access by default. This update disables local filesystem access, but it can be enabled if necessary with the --enable-local-file-access or the --allow options.

For Debian 10 buster, this problem has been fixed in version 0.12.5-1+deb10u1.

We recommend that you upgrade your wkhtmltopdf packages.

For the detailed security status of wkhtmltopdf please refer to its security tracker page at:

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: