CVE-2026-142210

Source
https://cve.org/CVERecord?id=CVE-2026-142210
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142210.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142210
Published
2026-12-02T16:50:36Z
Modified
2026-12-02T18:00:47Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
TCPDF 7.0.0 before 7.0.20 Local File Allowlist Bypass via writeHTML() CSS url()
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142210.json"
}
References

Affected packages

Git / github.com/tecnickcom/tcpdf

Affected ranges

Type
GIT
Repo
https://github.com/tecnickcom/tcpdf
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "7.0.0"
                },
                {
                    "fixed":  "7.0.20"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "c8834161b905b21bd8dcc0df6284e0132c5efa05"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "7.0.20",
            "range":  [
                {
                    "fixed":  "c8834161b905b21bd8dcc0df6284e0132c5efa05"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

7.*
7.0.0
7.0.1
7.0.10
7.0.11
7.0.12
7.0.13
7.0.15
7.0.16
7.0.17
7.0.18
7.0.19
7.0.2
7.0.3
7.0.4
7.0.5
7.0.6
7.0.7
7.0.8
7.0.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142210.json"