cvelo
P3 · MediumCVSS 5.3EPSS 0.7%

TCPDF 7.0.0 before 7.0.20 Local File Allowlist Bypass via writeHTML() CSS url()

  • CVE-2026-142210
  • GHSA-9cw8-wcwq-x458
  • EUVD-2026-141620

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.

Text from the CVE.org record.

Recommendation

  • tecnickcom TCPDF

    • If you run 7.0.xupdate to 7.0.20 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • tecnickcom TCPDF

    Affected versionsFixed in
    from 7.0.0 to before 7.0.207.0.20

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.