tecnickcom/tcpdf · Security
TCPDF lacks SVG sanitization
- GHSA ID
- GHSA-4p8j-vhjm-6pvw
- CVE ID
- CVE-2024-56519
- Severity
- medium
- Published
- Updated
- CVSS v4
- 5.3 · CVSS:4.0/AV:N/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. setSVGStyles does not sanitize the SVG font-family attribute.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-56519 ↗
- https://github.com/tecnickcom/TCPDF/commit/c9f41cbb84880bdb4fc3e0a9d287214d1ac4d7f4 ↗
- 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-4p8j-vhjm-6pvw ↗