🛡️ CVE-2024-56527 — tcpdf

🟠 CVSS 7.5 — High ⚠️ Exploit Public CWE-79 NVD
7.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

TCPDF missing character escape on error messages

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

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

Weakness class

CVE-2024-56527 is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.

Affected software

CVE-2024-56527 is recorded against 2 packages.

  • tcpdf (fixed in 6.8.0)
  • tecnickcom/tcpdf (fixed in 6.8.0)

Timeline and source

Published on 27 December 2024 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from NVD.

References

andrea0.medium.com
github.com
github.com
tcpdf.org
lists.debian.org

CVE-2024-56527 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity HIGH
CVSS Score 7.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE CWE-79
Public Exploit ⚠️ Yes
Source NVD
Published 2024-12-27
Updated 2026-08-12
Modified 2026-06-17

Affected Packages

Software From version Fixed in
tcpdf 6.8.0
tecnickcom/tcpdf 6.8.0

Similar Threats

Exploit Protection

Are you running tcpdf?

CVE-2024-56527 carries CVSS 7.5 High rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2024-56527 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.