GHSA-9cw8-wcwq-x458MediumCVSS 5.3
TCPDF 7.0.0 before 7.0.20 contains an allowlist bypass vulnerability in cssSafeMarkupPath() that...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142210
- https://github.com/tecnickcom/TCPDF/commit/c8834161b905b21bd8dcc0df6284e0132c5efa05
- https://github.com/tecnickcom/TCPDF/blob/7.0.19/tcpdf.php#L7525-L7539
- 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
- https://github.com/advisories/GHSA-9cw8-wcwq-x458