tecnickcom/tcpdf · Security
TCPDF missing character escape on error messages
- GHSA ID
- GHSA-qx95-cwh6-9mvq
- CVE ID
- CVE-2024-56527
- Severity
- medium
- Published
- Updated
- CVSS v4
- 4.8 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Description
An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-56527 ↗
- https://github.com/tecnickcom/TCPDF/commit/11778aaa2d9e30a9ae1c1ee97ff349344f0ad6e1 ↗
- https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0 ↗
- https://tcpdf.org ↗
- https://andrea0.medium.com/analysis-of-cve-2024-56527-dbdab6962add ↗
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html ↗
- https://github.com/advisories/GHSA-qx95-cwh6-9mvq ↗