CVE-2020-15178
CRITICAL 9.3CVSS 3.1Potential XSS injection In PrestaShop contactform
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.
- Published
- 15 Sep 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-95hx-62rh-gg96
- Sources
- NVDJSONOSV GHSA-95hx-62rh-gg96JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | prestashop | contactformcpe:2.3:a:prestashop:contactform:*:*:*:*:*:prestashop:*:* |
< 4.3.0 | 4.3.0 |
| OSV | Packagist | prestashop/contactform | >= 1.0.1, < 4.3.0 | 4.3.0 |
References
- https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09 · Patch, Third Party Advisory, WEB
- https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96 · Third Party Advisory, WEB
- https://packagist.org/packages/prestashop/contactform · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15178 · ADVISORY
- https://github.com/PrestaShop/contactform/commit/a1da814bea7e5750b858a2dbbc58ace80379f42f · WEB
- https://github.com/PrestaShop/contactform · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Sep 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 Sep 2020)