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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 02 Dec 2026 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | TCPDF 7.0.0 before 7.0.20 Local File Allowlist Bypass via writeHTML() CSS url() | |
| First Time appeared |
Tcpdf Project
Tcpdf Project tcpdf |
|
| Weaknesses | CWE-22 | |
| CPEs | cpe:2.3:a:tcpdf_project:tcpdf:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Tcpdf Project
Tcpdf Project tcpdf |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-12-02T16:50:36.665Z
Reserved: 2026-12-02T15:28:42.939Z
Link: CVE-2026-142210
No data.
Status : Received
Published: 2026-12-02T17:17:43.153
Modified: 2026-12-02T17:17:43.153
Link: CVE-2026-142210
No data.
OpenCVE Enrichment
No data.
Weaknesses