Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. tecnickcom/tcpdf
  4. ›
  5. CVE-2024-56527

CVE-2024-56527: TCPDF missing character escape on error messages

December 27, 2024 (updated November 4, 2025)

An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.

References

  • andrea0.medium.com/analysis-of-cve-2024-56527-dbdab6962add
  • github.com/advisories/GHSA-qx95-cwh6-9mvq
  • github.com/tecnickcom/TCPDF
  • github.com/tecnickcom/TCPDF/commit/11778aaa2d9e30a9ae1c1ee97ff349344f0ad6e1
  • github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0
  • lists.debian.org/debian-lts-announce/2025/06/msg00004.html
  • nvd.nist.gov/vuln/detail/CVE-2024-56527
  • tcpdf.org/

Code Behaviors & Features

Detect and mitigate CVE-2024-56527 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.8.0

Fixed versions

  • 6.8.0

Solution

Upgrade to version 6.8.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/tecnickcom/tcpdf/CVE-2024-56527.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 10 Dec 2025 12:18:58 +0000.