Medium 6.1 CVSS 3.1 m4pdf Published on 2023-09-20

M4 PDF plugin for Prestashop sites, in its 3.2.3 version and before, is vulnerable to an arbitrary HTML Document crafting vulnerability.

CVECVE-2022-45448 GHSANo GHSA advisory
View at the source View JSON Last modified at the source: 2026-06-17

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.

Original text by NVD (NIST), public domain.

CVSS metrics 3.1

Source: cve-coordination@incibe.es · secondary
Medium 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vectorNetwork
ComplexityLow
Privileges requiredLow
User interactionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityNone

References

Found a vulnerability?

Write to the PrestaShop core security team:

security-core@prestashop.com

Do you use the m4pdf module?

PrestaShield checks it from the outside, without FTP access, and alerts you of every new advisory that affects you.
Check if my shop is affected