CVE-2024-56519
PHP vulnerability analysis and mitigation

Overview

An issue was discovered in TCPDF before version 6.8.0 where the setSVGStyles function does not properly sanitize the SVG font-family attribute (NVD, Debian Tracker). The vulnerability was disclosed on December 27, 2024, and affects multiple versions of the TCPDF library, which is widely used for generating PDF documents in PHP applications.

Technical details

The vulnerability exists in the setSVGStyles function of TCPDF, where the SVG font-family attribute is not properly sanitized before processing. The issue has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating a high-severity vulnerability that can be exploited remotely without requiring privileges or user interaction (NVD). The vulnerability has been classified as CWE-79, which refers to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').

Impact

The vulnerability primarily affects the confidentiality of the system, as indicated by the CVSS score metrics showing high impact on confidentiality (C:H) while having no impact on integrity (I:N) and availability (A:N) (NVD).

Mitigation and workarounds

The vulnerability has been fixed in TCPDF version 6.8.0. The fix involves proper sanitization of the font-family attribute in the setSVGStyles function (GitHub Commit). Users are advised to upgrade to version 6.8.0 or later to address this security issue.

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65854CRITICAL9.8
  • PHPPHP
  • mineadmin/mineadmin
NoNoDec 12, 2025
CVE-2024-58303HIGH8.6
  • PHPPHP
  • fof/pretty-mail
NoNoDec 11, 2025
CVE-2025-67719HIGH8.5
  • PHPPHP
  • ibexa/user
NoYesDec 11, 2025
CVE-2025-67648HIGH7.1
  • PHPPHP
  • shopware/shopware
NoYesDec 11, 2025
CVE-2025-67737LOW3.1
  • PHPPHP
  • azuracast/azuracast
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management