Cyber Resilience

CVE-2022-35583

CriticalPublic PoC

Published: 22 August 2022

Published
22 August 2022
Modified
18 March 2025
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.5860 98.2th percentile
Risk Priority 55 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-35583 is a critical-severity SSRF (CWE-918) vulnerability in Wkhtmltopdf Wkhtmltopdf. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 1.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

wkhtmltopdf 0.12.6 contains a server-side request forgery vulnerability tracked as CVE-2022-35583 and assigned CWE-918. The flaw arises when the tool processes HTML containing an iframe tag whose source attribute references an internal IP address, allowing the application to issue requests to assets that should remain inaccessible from outside the target environment. The issue carries a CVSS 3.1 score of 9.8.

An unauthenticated remote attacker can exploit the weakness by supplying a crafted HTML document to wkhtmltopdf. Successful exploitation grants the attacker initial network access to internal systems and the ability to interact with further assets, potentially leading to full infrastructure compromise.

The EPSS score for the CVE currently stands at 0.5860 with a recorded peak of 0.5942.

EU & UK References

Vulnerability 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…

more

accessing their internal assets.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

wkhtmltopdf
wkhtmltopdf
0.12.6

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-918

Penetration testing attempts server-side requests to internal resources, identifying SSRF weaknesses for remediation.

addresses: CWE-918

Outbound connections to external resources can be monitored and limited at the boundary, reducing SSRF impact.

addresses: CWE-918

Validates server-side URLs and resource references to block SSRF attempts.

addresses: CWE-918

Detects server-side request forgery through monitoring of unexpected outbound connections.

References