Vulnerability · Published Sep 15, 2020 · Assigned by GitHub_M

CVE-2020-15178Potential XSS in PrestaShop contactform

High 8.0

In plain English

A high-severity cross-site scripting in contactform from PrestaShop. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.0High
Exploit odds (30 days)1.2%top 31.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistprestashop/contactform4.3.0GHSA-95hx-62rh-gg96

Affected products (as reported)

VendorProductVersions
PrestaShop contactform < 4.3.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N

References