high7.5
CVE-2024-56527
TCPDF missing character escape on error messages
Impact
An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | tecnickcom/tcpdf | < 6.8.0 | 6.8.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Tcpdf Project | Tcpdf | before 6.8.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://andrea0.medium.com/analysis-of-cve-2024-56527-dbdab6962add
- https://github.com/tecnickcom/TCPDF/commit/11778aaa2d9e30a9ae1c1ee97ff349344f0ad6e1
- https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0
- https://tcpdf.org
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html
- https://github.com/advisories/GHSA-qx95-cwh6-9mvq
- https://nvd.nist.gov/vuln/detail/CVE-2024-56527