Description
In PrestaShop contactform module (prestashop/contactform) before version 4.3.0, an attacker is able to inject JavaScript while using the contact form. The `message` field was incorrectly unescaped, possibly allowing attackers to execute arbitrary JavaScript in a victim's browser.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96
Patch, Third Party Advisory x_refsource_misc
https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09
Vendor Advisory x_refsource_misc
https://packagist.org/packages/prestashop/contactform
Scores
CVSS v3
8.0
EPSS
0.0058
EPSS Percentile
69.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Details
CWE
CWE-79
Status
published
Products (2)
prestashop/contactform
< 4.3.0
prestashop/contactform
1.0.1 - 4.3.0Packagist
Published
Sep 15, 2020
Tracked Since
Feb 18, 2026