{"id":"CVE-2020-15178","aliases":["CVE-2020-15178","GHSA-95hx-62rh-gg96"],"related":[],"kind":"vulnerability","state":"published","title":"Potential XSS in PrestaShop contactform","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nAn attacker is able to inject javascript while using the contact form. \n\n### Patches\nThe problem is fixed in v4.3.0\n\n### References\n[Cross-site Scripting (XSS) - Stored (CWE-79)](https://cwe.mitre.org/data/definitions/79.html)","format":"markdown","source":"ghsa"},{"lang":"es","text":"En el módulo contactform de PrestaShop (prestashop/contactform) versiones anteriores a 4.3.0, un atacante puede inyectar JavaScript mientras usa el formulario de contacto.&#xa0;El campo \"message\" estaba sin escapar incorrectamente, lo que posiblemente permitió a atacantes ejecutar JavaScript arbitrario en el navegador de la víctima","source":"nvd"}],"published":"2020-09-15T17:34:17.000Z","modified":"2026-09-10T03:49:25.690Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","score":8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","score":8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":9.3,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 4.3.0","status":"affected"}],"vendor":"PrestaShop","product":"contactform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.0.1","status":"affected","fixed":"4.3.0"}],"ecosystem":"Packagist","package":"prestashop/contactform","purl":"pkg:composer/prestashop/contactform","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.3.0"}],"vendor":"prestashop","product":"contactform","cpe":"cpe:2.3:a:prestashop:contactform:*:*:*:*:*:prestashop:*:*","source":"nvd"}],"references":[{"url":"https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://packagist.org/packages/prestashop/contactform","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15178","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/PrestaShop/contactform/commit/a1da814bea7e5750b858a2dbbc58ace80379f42f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/PrestaShop/contactform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15178","url":"https://www.cve.org/CVERecord?id=CVE-2020-15178","licence":"CVE Terms of Use","modified":"2024-08-04T13:08:22.421Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-95hx-62rh-gg96","url":"https://github.com/advisories/GHSA-95hx-62rh-gg96","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:25.690Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15178","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15178","licence":"Public domain","modified":"2026-06-17T02:56:12.330Z"}],"updatedAt":"2026-11-25T22:57:54.715Z","epss":{"score":0.01223,"percentile":0.6961,"date":"2026-12-01T12:00:22.000Z"}}