XSS in Prestashop Contactform
CVE-2020-15178
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.012, 69.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Prestashop Contactform — versions < 4.3.0
Weakness classification (CWE)
References
- github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96 (Third Party Advisory)
- github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa… (Patch, Third Party Advisory)
- packagist.org/packages/prestashop/contactform (Vendor Advisory)