Vulnerability · Published Sep 20, 2023 · Assigned by INCIBE
CVE-2022-45448Cross-site Scripting in M4 PDF plugin for Prestashop sites
Low 3.5
In plain English
A low-severity cross-site scripting in M4 PDF plugin from Prestashop. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Prestashop | M4 PDF plugin | 0 – through 3.2.3 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N