VDB
Sign up
MEDIUM

GHSA-4p8j-vhjm-6pvw

TCPDF lacks SVG sanitization

Quick fix

GHSA-4p8j-vhjm-6pvw — tecnickcom/tcpdf: upgrade to the fixed version with the command below.

composer require tecnickcom/tcpdf:^6.8.0

Details

An issue was discovered in TCPDF before 6.8.0. setSVGStyles does not sanitize the SVG font-family attribute.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/tecnickcom/tcpdf
Introduced in: 0Fixed in: 6.8.0
Fixcomposer require tecnickcom/tcpdf:^6.8.0

References