Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-21365

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-21365
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:57 UTC · Revision 1

Source evidence

CVE-2020-21365

core-osv · Original source

Published 15 Aug 2022, 20:15 UTC

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.

osv:CVE-2020-21365
Complete source record
{
  "id": "cbbf4aeffa066b546b035c8671acaba642286e5ad606b37bd47d6ef9fb81b1d2",
  "url": "https://osv.dev/vulnerability/CVE-2020-21365",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-21365",
    "summary": "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.",
    "evidence": "osv:CVE-2020-21365",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-21365",
      "aliases": [
        "CVE-2020-21365"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wkhtmltopdf/wkhtmltopdf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a8ba57e1260a0430e0e9e53da05211beef4cbbc3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wkhtmltopdf:wkhtmltopdf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.12.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.12.5",
            "0.12.4",
            "0.12.3",
            "0.12.2.1",
            "0.12.2",
            "0.12.1",
            "0.12.0",
            "0.11.0_rc2",
            "0.10.0_rc2",
            "0.10.0_rc1",
            "0.10.0_beta4",
            "0.10.0_beta2",
            "0.9.0_beta2",
            "0.9.0_beta1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-21365.json"
          }
        }
      ],
      "modified": "2026-10-20T10:52:10.697889079Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2022/10/msg00027.html",
        "https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4536"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-21365",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383425,
  "published_at": "2022-08-15T20:15:08.107+00:00"
}