high7.5
CVE-2024-56519
TCPDF lacks SVG sanitization
Impact
An issue was discovered in TCPDF before 6.8.0. setSVGStyles does not sanitize the SVG font-family attribute.
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://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
- https://nvd.nist.gov/vuln/detail/CVE-2024-56519