Skip to content

CVE-2022-45448 Cross-site Scripting in M4 PDF plugin for Prestashop sites

MediumCVSS 6.1 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHP

Description

M4 PDF plugin for Prestashop sites, in its 3.2.3 version and before, is vulnerable to an arbitrary HTML Document crafting vulnerability. The resource /m4pdf/pdf.php uses templates to dynamically create documents. In the case that the template does not exist, the application will return a fixed document with a message in mpdf format. An attacker could exploit this vulnerability by inputting a valid HTML/CSS document as the value of the parameter.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
prestashop m4 pdf <= 3.2.3 after 3.2.3 Fixed
prestashop M4 PDF plugin <= 3.2.3 after 3.2.3 Fixed

Affected products

ProductAffected versionsFixed in
prestashop M4 PDF plugin <= 3.2.3 No fix listed
prestashop m4 pdf <= 3.2.3 No fix listed

References