Live threats

All CVEs / Prestashop

CVE-2020-15178Prestashop Contactform

Critical 9.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Contactform.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
prestashopcontactform< 4.3.0

Official sources

References

Links published by the sources. Open them with care.