{"id":"CVE-2020-15178","published":"2020-09-15T17:50:13Z","modified":"2024-08-04T13:08:22Z","title":"Potential XSS in PrestaShop contactform","vendor":"PrestaShop","product":"contactform","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01223,"percentile":0.69506,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09","tags":["x_refsource_MISC"]},{"url":"https://packagist.org/packages/prestashop/contactform","tags":["x_refsource_MISC"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":13.9},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"prestashop","affectedVersions":[{"vendor":"PrestaShop","product":"contactform","versions":["< 4.3.0"]}],"affected":[{"ecosystem":"Packagist","package":"prestashop/contactform","vulnerableRanges":[">=1.0.1, <4.3.0"],"patched":["4.3.0"],"from":["GHSA-95hx-62rh-gg96"],"provenance":"source"}],"summary":{"text":"The PrestaShop contactform module (prestashop/contactform), before version 4.3.0, fails to escape the message field in its contact form, which allows JavaScript to be injected into pages where that content is rendered. An attacker can run arbitrary JavaScript in a victim's browser by remotely submitting a crafted message, but this requires the victim to take an action (user interaction) and the attack is considered high complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:22Z"},"euvd":{"id":"EUVD-2020-0925","exploited":false,"provenance":"source"}}