CVE-2022-45448: M4 PDF Prestashop - Stored XSS
- Cve: CVE-2022-45448
- Name: M4 PDF Prestashop - Stored XSS
- 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.
- Impact: Attackers can craft arbitrary HTML documents, potentially leading to cross-site scripting or malicious content injection.
- Remediation: Update to the latest version of the plugin or apply security patches provided by the vendor.
- Vulnerability type: template_injection
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to input a valid HTML/CSS document as parameter
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00328
- Epss percentile: 0.26362
- Assignee: [email protected]
- Published at: 2023-09-20T13:15:11Z
- Age in days: 1161
- Modified at: 2026-06-17T05:10:09Z
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-45448
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-m4-pdf-plugin-prestashop-sites | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| prestashop:m4_pdf | <= 3.2.3 | no | nvd | /v1/products/prestashop/m4_pdf |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts