CVE-2024-56527: tecnickcom/tcpdf · TCPDF missing character escape on error messages
Affects tecnickcom/tcpdfSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 6.8.0 soon.
Data as of 31 Oct 2026, 01:24 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 6.8.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 30 Oct 2026.
What to do
Upgrade tecnickcom/tcpdf to 6.8.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagisttecnickcom/tcpdf | 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, where the issue is fixed. Since a patch is available and the vulnerability is resolved in 6.8.0, applying this official fix is the recommended remediation.
Description
TCPDF versions prior to 6.8.0 contain a vulnerability where the Error function does not properly escape characters in error messages, leading to potential cross-site scripting (XSS) issues. This flaw was fixed in version 6.8.0.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56527 (opens in a new tab)
- github.com/tecnickcom/TCPDF/commit/11778aaa2d9e30a9ae1c1ee97ff349344f0ad6e1 (opens in a new tab)
- andrea0.medium.com/analysis-of-cve-2024-56527-dbdab6962add (opens in a new tab)
- github.com/tecnickcom/TCPDF (opens in a new tab)
- github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/06/msg00004.html (opens in a new tab)
- tcpdf.org (opens in a new tab)