GHSA-4p8j-vhjm-6pvw
TCPDF lacks SVG sanitization
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | tecnickcom/tcpdf | < 6.8.0 | 6.8.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
An issue was discovered in TCPDF before 6.8.0. setSVGStyles does not sanitize the SVG font-family attribute.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-56519
- https://github.com/tecnickcom/TCPDF/commit/c9f41cbb84880bdb4fc3e0a9d287214d1ac4d7f4
- https://github.com/tecnickcom/TCPDF
- https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html
- https://tcpdf.org