CVE-2026-142210
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/tecnickcom/TCPDF/blob/7.0.19/tcpdf.php#L7525-L7539
- https://github.com/tecnickcom/TCPDF/commit/c8834161b905b21bd8dcc0df6284e0132c5efa05
- https://github.com/tecnickcom/TCPDF/releases/tag/7.0.20
- https://www.vulncheck.com/advisories/tcpdf-7.0.0-before-7.0.20-local-file-allowlist-bypass-via-writehtml-css-url
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.