CVE-2020-15178Prestashop Contactform
Critical 9.3 No auth needed
Follow: this CVE · Prestashop · Prestashop Contactform We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 9.3
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- No
- Published
- Sep 15, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Contactform.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | prestashop/contactform |
≥ 1.0.1 < 4.3.0 |
4.3.0 |
composer require "prestashop/contactform:^4.3.0" |
Per OSV / GitHub Advisories (GHSA-95hx-62rh-gg96). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| prestashop | contactform | < 4.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- packagist.org Vendor Advisory