# CVE-2020-15178: Potential XSS in PrestaShop contactform

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.22%, higher than 69% of CVEs (2026-12-01)
- Published: 2020-09-15T17:34:17.000Z
- Modified: 2026-09-10T03:49:25.690Z
- Also known as: GHSA-95hx-62rh-gg96
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- PrestaShop contactform: < 4.3.0; before 4.3.0
- prestashop/contactform (Packagist): from 1.0.1 before 4.3.0

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96> (third-party-advisory, web)
- <https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09> (patch, third-party-advisory, web)
- <https://packagist.org/packages/prestashop/contactform> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15178> (advisory)
- <https://github.com/PrestaShop/contactform/commit/a1da814bea7e5750b858a2dbbc58ace80379f42f> (web)
- <https://github.com/PrestaShop/contactform> (package)

## Sources

- CVE List: [CVE-2020-15178](https://www.cve.org/CVERecord?id=CVE-2020-15178), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-95hx-62rh-gg96](https://github.com/advisories/GHSA-95hx-62rh-gg96), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-15178](https://nvd.nist.gov/vuln/detail/CVE-2020-15178), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15178 · Whole record: https://cve.day/CVE-2020-15178.json · Rebuilt by cve.day 2026-11-25T22:57:54.715Z
