Html2pdf
CVE-2025-56590
CRITICAL
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 9.8 with PoC. HTML-to-PDF conversion is commonly used in web applications for invoice generation, report export, and document processing. Any application using this SDK is vulnerable. |
| Exploit ScenarioDerived | An attacker submits a crafted URL through a web application's PDF export feature. The URL contains injected shell commands that execute on the server when the HTML2PDF SDK processes it, gaining access to the application server. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
Apryse HTML2PDF SDK through version 11.10 has a command injection vulnerability in the InsertFromURL function allowing remote code execution when converting HTML to PDF.
Earlier versions of this analysis (1)
Command injection in Apryse HTML2PDF SDK enables RCE during document conversion.
RemediationAI
Update the SDK. Validate and sanitize all URLs before passing to conversion functions.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The InsertFromURL() function in Apryse HTML2PDF SDK through 11.10 fails to sanitize URLs before passing them to system commands (CWE-78), allowing injection of arbitrary OS commands.
Know when Html2pdf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
An issue was discovered in the InsertFromURL() function of the Apryse HTML2PDF SDK thru 11.10. This vulnerability could allow an attacker to execute arbitrary operating system commands on the local server.
Executive ViewAI
A critical remote code execution vulnerability (CVE-2025-56590) affecting Apryse HTML2PDF SDK versions through 11.10 could allow attackers to execute arbitrary commands on affected servers. Any organization using this SDK for PDF generation is at immediate risk of complete system compromise. With active exploits available and no patch currently available, urgent remediation is required.
Disable or restrict the InsertFromURL() function in the SDK configuration. Implement strict network-level access controls limiting outbound connections from systems running the SDK. Deploy WAF rules to block suspicious URL parameters in requests to PDF generation endpoints. Run affected systems with minimal privileges and in isolated network segments. Implement input validation and sanitization on all user-supplied URLs before processing. Monitor application logs for anomalous PDF generation requests and command execution attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
A Local File Inclusion (LFI) and a Server-Side Request Forgery (SSRF) vulnerability was found in the InsertFromHtmlStrin
Cross Site Scripting vulnerability in Spipu HTML2PDF before v.5.2.8 allows a remote attacker to execute arbitrary code v
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB