{"id":"CVE-2020-15178","state":"PUBLISHED","title":"Potential XSS in PrestaShop contactform","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.","publishedAt":"2020-09-15T17:50:13.000Z","updatedAt":"2024-08-04T13:08:22.421Z","severity":{"score":8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["PrestaShop contactform"],"affected":[{"vendor":"PrestaShop","product":"contactform","versions":[{"version":"< 4.3.0","status":"affected"}]}],"references":["https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96","https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09","https://packagist.org/packages/prestashop/contactform"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:46:36.523Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/15xxx/CVE-2020-15178.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-15178","state":"PUBLISHED","datePublished":"2020-09-15T17:50:13.000Z","dateUpdated":"2024-08-04T13:08:22.421Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-06-25T00:00:00.000Z"},"containers":{"cna":{"title":"Potential XSS in PrestaShop contactform","descriptions":[{"lang":"en","value":"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":[{"vendor":"PrestaShop","product":"contactform","versions":[{"version":"< 4.3.0","status":"affected"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Cross-site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-09-15T17:50:13.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-95hx-62rh-gg96","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-15178","STATE":"PUBLIC","TITLE":"Potential XSS in PrestaShop contactform"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"contactform","version":{"version_data":[{"version_value":"< 4.3.0"}]}}]},"vendor_name":"PrestaShop"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"name":"https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96","refsource":"CONFIRM","url":"https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96"},{"name":"https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09","refsource":"MISC","url":"https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09"},{"name":"https://packagist.org/packages/prestashop/contactform","refsource":"MISC","url":"https://packagist.org/packages/prestashop/contactform"}]},"source":{"advisory":"GHSA-95hx-62rh-gg96","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://packagist.org/packages/prestashop/contactform","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T13:08:22.421Z"}}]}}}