# CVE-2024-56519: TCPDF lacks SVG sanitization

Source: https://junglewise.ai/threats/cve-2024-56519-tcpdf-lacks-svg-sanitization  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-27  
License: CC BY 4.0 with a link back

CVE-2024-56519 · Severity: medium · CVSS 4 · Published 2024-12-27

TCPDF lacks SVG sanitization

Technologies: [tecnickcom/tcpdf (Packagist)](https://junglewise.ai/threats/technologies/tecnickcom-tcpdf). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2024-56519 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-56519 being exploited in the wild.

**How severe is CVE-2024-56519?** Medium severity, with a CVSS score of 4, published 27 December 2024.

**Which products and versions are affected?** tecnickcom/tcpdf (Packagist) ECOSYSTEM:introduced=0,fixed=6.8.0.

**Is there a fix for CVE-2024-56519?** Yes. tecnickcom/tcpdf (Packagist): upgrade to 6.8.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-56519?** Check whether you run tecnickcom/tcpdf (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- tecnickcom/tcpdf (Packagist): upgrade to 6.8.0 or later

  ```sh
  composer require tecnickcom/tcpdf:^6.8.0
  ```


## Affected products

- tecnickcom/tcpdf (Packagist) ECOSYSTEM:introduced=0,fixed=6.8.0

## Identifiers

- CVE-2024-56519
- GHSA-4p8j-vhjm-6pvw

## Related threats

- [TCPDF has incorrect comparison](https://junglewise.ai/threats/cve-2024-56522-tcpdf-has-incorrect-comparison)
- [TCPDF missing character escape on error messages](https://junglewise.ai/threats/cve-2024-56527-tcpdf-missing-character-escape-on-error-messages)
- [TCPDF missing certificate validation](https://junglewise.ai/threats/cve-2024-56521-tcpdf-missing-certificate-validation)
- [TCPDF Local File Inclusion vulnerability](https://junglewise.ai/threats/cve-2024-51058-tcpdf-local-file-inclusion-vulnerability)
- [TCPDF vulnerable to Regular Expression Denial of Service](https://junglewise.ai/threats/cve-2024-22640-tcpdf-vulnerable-to-regular-expression-denial-of-service)
