Every CVE Search/ Get API key

CVE-2020-21365

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read...

7.5 HighPublic exploitFix available

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

2.32%Up 1.3 points since Aug 16, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations.

Record
CVE-2020-21365
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations.

Record
CVE-2020-21365
Updated
2026-11-02
EUVDEUVD-2020-14137 No score

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations.

Record
EUVD-2020-14137
Updated
2026-11-03
GitHub AdvisoriesGHSA-36cg-hvm7-mhwp 7.5

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read...

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations.

Record
GHSA-36cg-hvm7-mhwp
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
OSV 7.5

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations.

Record
CVE-2020-21365
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2020-21365 7.5

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations.

Record
DEBIAN-CVE-2020-21365
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2020-21365 7.5

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations.

Record
UBUNTU-CVE-2020-21365
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVMGASA-2022-0407 No score

Updated wkhtmltopdf packages fix security vulnerability

Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read local files and disclose sensitive information via a crafted html file running with the default configurations. (CVE-2020-21365)

Record
MGASA-2022-0407
Updated
2026-11-02
OSVUSN-6232-1 No score

wkhtmltopdf vulnerability

It was discovered that wkhtmltopdf was not properly enforcing the same-origin policy when processing certain HTML files. If a user or automated system using wkhtmltopdf were tricked into processing a specially crafted HTML file, an attacker could possibly use this issue to expose sensitive information.

Record
USN-6232-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
wkhtmltopdf
Debian:12
before 0.12.6-1
0.12.6-1
wkhtmltopdf
Debian:10
before 0.12.5-1+deb10u1, plus listed versions
0.12.5-1
0.12.5-1+deb10u1
wkhtmltopdf
Mageia:8
before 0.12.5-4.1.mga8
0.12.5-4.1.mga8
wkhtmltopdf
Ubuntu:Pro:14.04:LTS
before 0.9.9-4ubuntu0.1~esm1, plus listed versions
0.9.9-4
0.9.9-4ubuntu0.1~esm1
wkhtmltopdf
Ubuntu:Pro:16.04:LTS
before 0.12.2.4-1ubuntu0.1~esm1, plus listed versions
0.12.2.4-1
0.12.2.4-1ubuntu0.1~esm1
wkhtmltopdf
Ubuntu:Pro:18.04:LTS
before 0.12.4-1ubuntu0.1~esm1, plus listed versions
0.12.3.2-30.12.4-1
0.12.4-1ubuntu0.1~esm1
wkhtmltopdf
Ubuntu:20.04:LTS
before 0.12.5-1ubuntu0.1, plus listed versions
0.12.5-10.12.5-1build1
0.12.5-1ubuntu0.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubsamaellovecraft/CVE-2020-213652025-06-21

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-21365 is a high vulnerability (CVSS 7.5) in Wkhtmltopdf, published August 15, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 2.32%, the 83rd percentile. Fixed in wkhtmltopdf 0.12.6-1.

References

Show 6 moreShow less
MoveEnter Open