{"id":"UBUNTU-CVE-2022-35583","details":"wkhtmlTOpdf 0.12.6 is vulnerable to SSRF which allows an attacker to get initial access into the target's system by injecting iframe tag with initial asset IP address on it's source. This allows the attacker to takeover the whole infrastructure by accessing their internal assets.","modified":"2025-10-24T04:53:47Z","published":"2022-08-22T16:15:00Z","upstream":["CVE-2022-35583"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-35583"},{"type":"REPORT","url":"https://cyber-guy.gitbook.io/cyber-guys-blog/blogs/initial-access-via-pdf-file-silently"},{"type":"REPORT","url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/5249"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-35583"}],"affected":[{"package":{"name":"wkhtmltopdf","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/wkhtmltopdf@0.9.9-4ubuntu0.1~esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.9-4","0.9.9-4ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"wkhtmltopdf","binary_version":"0.9.9-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35583.json"}},{"package":{"name":"wkhtmltopdf","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/wkhtmltopdf@0.12.2.4-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.2.4-1","0.12.2.4-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"wkhtmltopdf","binary_version":"0.12.2.4-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35583.json"}},{"package":{"name":"wkhtmltopdf","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/wkhtmltopdf@0.12.4-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.3.2-3","0.12.4-1","0.12.4-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"wkhtmltopdf","binary_version":"0.12.4-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35583.json"}},{"package":{"name":"wkhtmltopdf","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/wkhtmltopdf@0.12.5-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.5-1","0.12.5-1build1","0.12.5-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"wkhtmltopdf","binary_version":"0.12.5-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35583.json"}},{"package":{"name":"wkhtmltopdf","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/wkhtmltopdf@0.12.6-2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.6-1","0.12.6-2"],"ecosystem_specific":{"binaries":[{"binary_name":"wkhtmltopdf","binary_version":"0.12.6-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35583.json"}},{"package":{"name":"wkhtmltopdf","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/wkhtmltopdf@0.12.6-2build2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.6-2","0.12.6-2build1","0.12.6-2build2"],"ecosystem_specific":{"binaries":[{"binary_name":"wkhtmltopdf","binary_version":"0.12.6-2build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35583.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}