---
title: "CVE-2022-35583\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-35583?format=md
keywords: index, follow
---

# CVE-2022-35583

Publication date 22 August 2022

Last updated 11 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2022-35583?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2022-35583?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| wkhtmltopdf | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Ignored end of life, was deferred [2023-07-18] |
| 24.04 LTS noble | Vulnerable, fix deferred |
| 23.10 mantic | Ignored end of life, was deferred [2023-07-18] |
| 23.04 lunar | Ignored end of life, was deferred [2023-07-18] |
| 22.10 kinetic | Ignored end of life, was deferred [2023-07-18] |
| 22.04 LTS jammy | Vulnerable, fix deferred |
| 20.04 LTS focal | Vulnerable, fix deferred |
| 18.04 LTS bionic | Vulnerable, fix deferred |
| 16.04 LTS xenial | Vulnerable, fix deferred |
| 14.04 LTS trusty | Vulnerable, fix deferred |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [ccdm94](https://launchpad.net/~ccdm94)

as of 2023-07-18, no fix for this vulnerability was made available by
upstream. That is because this is not being considered a wkhtmltopdf issue,
but instead an issue with applications using wktohtmlpdf without first
sanitizing input that is user-supplied HTML/JS. In the related GitHub
issue page it is possible to see that this issue is possibly being disputed.
Commit 5426e55 was presented by maintainers as the commit that highlights
the fact that they are aware of this behavior, and consider it to be
expected.

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35583)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-35583)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-35583)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-35583)

### Other references

* <https://cyber-guy.gitbook.io/cyber-guys-blog/blogs/initial-access-via-pdf-file-silently>
* <https://github.com/wkhtmltopdf/wkhtmltopdf/issues/5249>
* <https://www.cve.org/CVERecord?id=CVE-2022-35583>
