{"id":"CVE-2024-32489","published":"2024-04-15T00:00:00Z","modified":"2025-11-03T19:29:45Z","title":"TCPDF before 6.7.4 mishandles calls that use HTML syntax","vendor":null,"product":null,"tier":"tail","description":{"text":"TCPDF before 6.7.4 mishandles calls that use HTML syntax.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00582,"percentile":0.48744,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/tecnickcom/TCPDF/commit/51cd1b39de5643836e62661d162c472d63167df7","tags":[]},{"url":"https://github.com/tecnickcom/TCPDF/commit/82fc97bf1c74c8dbe62b1d3cc6d10fa4b87e0262","tags":[]},{"url":"https://github.com/tecnickcom/TCPDF/compare/6.6.2...6.7.4","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html","tags":[]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":9.75},{"name":"CVSS severity","points":4.27}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-19T14:21:47.454948Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"tecnickcom/tcpdf","vulnerableRanges":["<6.7.4"],"patched":["6.7.4"],"from":["GHSA-g9wg-98c2-qv3v"],"provenance":"source"}],"summary":{"text":"The flaw is in TCPDF, the PHP PDF-generation library, in versions before 6.7.4, where calls that use HTML syntax are mishandled, and the weakness is classified as improper neutralization of script-related HTML tags (basic cross-site scripting). An attacker can inject script through HTML content supplied to TCPDF, which requires no privileges but does require a user to interact with the crafted content, and the resulting impact is limited to confidentiality and integrity effects with no availability impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:20Z"},"euvd":{"id":"EUVD-2024-1207","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tecnick-tcpdf-cve-2018-17057","parents":[{"from":"CVE-2018-17057","to":"CVE-2024-32489","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["include/tcpdf_fonts.php","include/tcpdf_static.php","tcpdf.php"],"commits":["https://github.com/tecnickcom/TCPDF/commit/1861e33fe05f653b67d070f7c106463e7a5c26ed","https://github.com/tecnickcom/TCPDF/commit/51cd1b39de5643836e62661d162c472d63167df7","https://github.com/tecnickcom/TCPDF/commit/82fc97bf1c74c8dbe62b1d3cc6d10fa4b87e0262"],"basis":"shared function","functions":["AddFont","TCPDF_STATIC"]}]}],"children":[{"from":"CVE-2024-32489","to":"CVE-2024-51058","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["include/tcpdf_static.php","tcpdf.php"],"commits":["https://github.com/tecnickcom/TCPDF/commit/51cd1b39de5643836e62661d162c472d63167df7","https://github.com/tecnickcom/TCPDF/commit/82fc97bf1c74c8dbe62b1d3cc6d10fa4b87e0262","https://github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b"],"basis":"shared function","functions":["TCPDF_STATIC","openHTMLTagHandler"]}]},{"from":"CVE-2024-32489","to":"CVE-2024-56520","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["include/tcpdf_fonts.php"],"commits":["https://github.com/tecnickcom/TCPDF/commit/51cd1b39de5643836e62661d162c472d63167df7","https://github.com/tecnickcom/TCPDF/commit/82fc97bf1c74c8dbe62b1d3cc6d10fa4b87e0262","https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe"],"basis":"rarely changed file"}]},{"from":"CVE-2024-32489","to":"CVE-2024-56521","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["include/tcpdf_static.php","tcpdf_autoconfig.php"],"commits":["https://github.com/tecnickcom/TCPDF/commit/51cd1b39de5643836e62661d162c472d63167df7","https://github.com/tecnickcom/TCPDF/commit/82fc97bf1c74c8dbe62b1d3cc6d10fa4b87e0262","https://github.com/tecnickcom/TCPDF/commit/aab43ab0a824e956276141a28a24c7c0be20f554"],"basis":"shared function","functions":["TCPDF_STATIC"]}]}],"packageHistory":[{"cve":"CVE-2018-17057","published":"2018-09-14","fixed":"6.2.22","kev":false},{"cve":"CVE-2024-32489","published":"2024-04-15","fixed":"6.7.4","kev":false},{"cve":"CVE-2024-22640","published":"2024-04-19","fixed":"6.7.5","kev":false,"link":{"from":"CVE-2024-32489","to":"CVE-2024-22640","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:tecnickcom/tcpdf","fromFixed":"6.7.4","toFixed":"6.7.5","daysApart":4}]}},{"cve":"CVE-2024-51058","published":"2024-11-26","fixed":"6.7.6","kev":false},{"cve":"CVE-2024-56519","published":"2024-12-27","fixed":"6.8.0","kev":false}],"package":"Packagist:tecnickcom/tcpdf"}}