CVE-2026-142210

NameCVE-2026-142210
DescriptionTCPDF 7.0.0 before 7.0.20 contains an allowlist bypass vulnerability in cssSafeMarkupPath() that allows attackers to embed local files outside K_ALLOWED_PATHS via CSS url() values. Attackers controlling HTML rendered by writeHTML() can reference list-style-image or img| bullet paths containing uppercase characters, causing files to be copied to the temporary directory and embedded in generated PDFs.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1156561

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tcpdf (PTS)bookworm, bookworm (security)6.6.2+dfsg1-1+deb12u1vulnerable
trixie6.9.1+dfsg-1vulnerable
forky, sid6.11.2+dfsg-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tcpdfsource(unstable)(unfixed)1156561

Notes

https://github.com/tecnickcom/TCPDF/commit/c8834161b905b21bd8dcc0df6284e0132c5efa05 (7.0.20)

Search for package or bug name: Reporting problems