CVE-2024-56519: tecnick tcpdf · Cross-site Scripting
Affects tecnick tcpdfSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 6.8.0 soon.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade tecnickcom/TCPDF to 6.8.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubtecnickcom/TCPDFpkg:github/tecnickcom/TCPDFOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade TCPDF to version 6.8.0 or later immediately once available, as this version addresses the sanitization issue in setSVGStyles.
- Implement strict input validation and sanitization on all user-supplied SVG content before it is processed by TCPDF, specifically filtering or escaping font-family attributes to prevent injection of malicious code.
- Employ Content Security Policy (CSP) headers and PDF viewer security settings to limit the execution of embedded scripts or malicious content within PDFs.
- Monitor and audit PDF generation logs for unusual or unexpected SVG content submissions that could indicate exploitation attempts.
- Where feasible, isolate PDF generation processes in sandboxed environments to reduce the risk of lateral movement in case of exploitation.
- Educate developers and system administrators about the risks associated with SVG content in PDFs and encourage secure coding practices around third-party libraries.
- Stay updated with vendor advisories and community patches related to TCPDF and SVG processing vulnerabilities.
Description
An issue was discovered in TCPDF before 6.8.0.setSVGStyles does not sanitize the SVG font-family attribute.