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

- Severity: Low 3.5 (CVSS:3.1, scored by INCIBE) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-02)
- Published: 2023-09-20T12:14:58.361Z
- Modified: 2026-06-17T05:10:09.877Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: INCIBE

## 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.

(As written by CVE List.)

## Affected

- Prestashop M4 PDF plugin: up to 3.2.3
- prestashop m4_pdf: up to 3.2.3

## Every score

- INCIBE: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-m4-pdf-plugin-prestashop-sites> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-45448](https://www.cve.org/CVERecord?id=CVE-2022-45448), CVE Terms of Use, modified 2024-09-06
- NVD: [CVE-2022-45448](https://nvd.nist.gov/vuln/detail/CVE-2022-45448), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-45448 · Whole record: https://cve.day/CVE-2022-45448.json · Rebuilt by cve.day 2026-11-25T22:58:19.619Z
