CVE-2024-32489 TCPDF Cross-site Scripting vulnerability
An attacker can inject malicious HTML into TCPDF documents, potentially leading to code execution or data theft in applications using the library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-32489?
CVE-2024-32489 is a medium-severity cross-site scripting vulnerability in n/a, published on 15 Apr 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
TCPDF before 6.7.4 mishandles calls that use HTML syntax.
Weakness: CWE-80
Which versions are affected by CVE-2024-32489?
2 open source packages ship an affected version, including tecnickcom/tcpdf. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
tecnickcom/tcpdf Packagist | All versions | 6.7.4 |
tecnickcom/tcpdf Packagist | All versions | 6.7.4 |
Products include Tcpdf Project Tcpdf.
How do I fix CVE-2024-32489?
Upgrade tecnickcom/tcpdf to 6.7.4 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-32489 being exploited?
There is no known exploitation of CVE-2024-32489 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2024-32489, GHSA-g9wg-98c2-qv3v, UBUNTU-CVE-2024-32489.