{"id":"CVE-2020-21365","aliases":["DEBIAN-CVE-2020-21365","DLA-3158-1","EUVD-2020-14137","GHSA-36cg-hvm7-mhwp","MGASA-2022-0407","UBUNTU-CVE-2020-21365","USN-6232-1"],"status":"published","title":"Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read...","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02316,"percentile":0.8357,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2022-08-15T00:00:00Z","modified":"2026-10-26T12:02:29Z","exploits":[{"source":"pocgithub","id":"samaellovecraft/CVE-2020-21365","title":"samaellovecraft/CVE-2020-21365","date":"2025-06-21","url":"https://github.com/samaellovecraft/CVE-2020-21365"}],"fixes":[{"ecosystem":"Debian:12","package":"wkhtmltopdf","fixed_in":["0.12.6-1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"wkhtmltopdf","fixed_in":["0.12.5-1+deb10u1"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"wkhtmltopdf","fixed_in":["0.12.5-4.1.mga8"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"wkhtmltopdf","fixed_in":["0.9.9-4ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"wkhtmltopdf","fixed_in":["0.12.2.4-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"wkhtmltopdf","fixed_in":["0.12.4-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"wkhtmltopdf","fixed_in":["0.12.5-1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.6-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.5-1+deb10u1"}]}],"versions":["0.12.5-1"]},{"source":"osv","ecosystem":"Mageia:8","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.5-4.1.mga8"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.9-4ubuntu0.1~esm1"}]}],"versions":["0.9.9-4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.2.4-1ubuntu0.1~esm1"}]}],"versions":["0.12.2.4-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.4-1ubuntu0.1~esm1"}]}],"versions":["0.12.3.2-3","0.12.4-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.5-1ubuntu0.1"}]}],"versions":["0.12.5-1","0.12.5-1build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.9-4ubuntu0.1~esm1"}]}],"versions":["0.9.9-4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.2.4-1ubuntu0.1~esm1"}]}],"versions":["0.12.2.4-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.4-1ubuntu0.1~esm1"}]}],"versions":["0.12.3.2-3","0.12.4-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"wkhtmltopdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.5-1ubuntu0.1"}]}],"versions":["0.12.5-1","0.12.5-1build1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"wkhtmltopdf","product":"wkhtmltopdf"}],"references":[{"url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4536","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00027.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-21365"},{"url":"https://github.com/advisories/GHSA-36cg-hvm7-mhwp"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-21365","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0407.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31023","tags":["report"]},{"url":"https://www.debian.org/lts/security/2022/dla-3158","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2020-21365","tags":["report"]},{"url":"https://github.com/wkhtmltopdf/wkhtmltopdf/commit/2a5f25077895fb075812c0f599326f079a59d6cf","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6232-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-21365","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-21365","description":"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.","status":"published","published":"2022-08-15T00:00:00Z","modified":"2024-08-04T14:30:32.014Z","updated_at":"2026-11-02T14:35:48.854892Z"}],"euvd":[{"id":"EUVD-2020-14137","description":"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.","status":"published","published":"2022-08-15T00:00:00Z","modified":"2024-08-04T14:30:32Z","updated_at":"2026-11-03T03:07:23.734565Z"}],"ghsa":[{"id":"GHSA-36cg-hvm7-mhwp","title":"Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows remote attackers to read...","description":"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.","status":"published","published":"2022-08-16T00:00:22Z","modified":"2023-01-30T05:02:53Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:46:44.129156Z"}],"nvd":[{"id":"CVE-2020-21365","description":"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.","status":"published","published":"2022-08-15T20:15:08.107Z","modified":"2026-06-17T03:03:39.013Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:46.951463Z"}],"osv":[{"id":"CVE-2020-21365","description":"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.","status":"published","published":"2022-08-15T20:15:08.107Z","modified":"2026-10-20T10:52:10.697889079Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:15.534837Z"},{"id":"DEBIAN-CVE-2020-21365","description":"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.","status":"published","published":"2022-08-15T20:15:08.107Z","modified":"2026-10-26T12:02:29.882111787Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:33.384087Z"},{"id":"UBUNTU-CVE-2020-21365","description":"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.","status":"published","published":"2022-08-15T20:15:00Z","modified":"2026-02-04T02:48:40.418913Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:23.905183Z"},{"id":"DLA-3158-1","title":"wkhtmltopdf - security update","status":"published","published":"2022-10-24T00:00:00Z","modified":"2026-03-09T01:21:46.949472Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"MGASA-2022-0407","title":"Updated wkhtmltopdf packages fix security vulnerability","description":"Directory traversal vulnerability in wkhtmltopdf through 0.12.5 allows\nremote attackers to read local files and disclose sensitive information\nvia a crafted html file running with the default configurations.\n(CVE-2020-21365)\n","status":"published","published":"2022-11-04T21:16:03Z","modified":"2026-04-16T04:43:09.806013475Z","updated_at":"2026-11-02T15:49:42.263076Z"},{"id":"USN-6232-1","title":"wkhtmltopdf vulnerability","description":"It was discovered that wkhtmltopdf was not properly enforcing the\nsame-origin policy when processing certain HTML files. If a user or\nautomated system using wkhtmltopdf were tricked into processing a\nspecially crafted HTML file, an attacker could possibly use this issue to\nexpose sensitive information.\n","status":"published","published":"2023-07-20T19:22:59Z","modified":"2026-06-29T13:50:54.624610437Z","updated_at":"2026-11-02T16:58:17.305935Z"}]}}
