CVE-2026-142210
TCPDF 7.0.0 before 7.0.20 contains an allowlist bypass …
TCPDF 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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/tecnickcom/TCPDF/blob/7.0.19/tcpdf.php#L7525-L7539
- github.com/tecnickcom/TCPDF/commit/c8834161b905b21bd8dcc0df6284e0132c5efa05
- github.com/tecnickcom/TCPDF/releases/tag/7.0.20
- www.vulncheck.com/advisories/tcpdf-7.0.0-before-7.0.20-local-file-allowlist-bypass-via-wri
- nvd.nist.gov/vuln/detail/CVE-2026-142210
- cve.org/CVERecord?id=CVE-2026-142210
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.