Potential XSS injection In PrestaShop contactform
Impact
An attacker is able to inject javascript while using the contact form.
Patches
The problem is fixed in v4.3.0
References
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | prestashop/contactform | >= 1.0.1, < 4.3.0 | 4.3.0 |
| PrestaShop module | prestashop/contactform | >= 1.0.1, < 4.3.0 | 4.3.0 |
References
- https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96
- https://nvd.nist.gov/vuln/detail/CVE-2020-15178
- https://github.com/PrestaShop/contactform/commit/a1da814bea7e5750b858a2dbbc58ace80379f42f
- https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09
- https://github.com/PrestaShop/contactform
- https://packagist.org/packages/prestashop/contactform
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N- Weakness (CWE)
CWE-79- Platform
- Composer, PrestaShop
- Package
prestashop/contactform- Disclosed
- 15.09.2020
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-95hx-62rh-gg96 - CC BY 4.0
Vulnerability history: prestashop/contactform
All published vulnerabilities of this package (PrestaShop module), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.