Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15178
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:52 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-15178
Complete source record
{
"id": "bb7b7b6ada0185df118d8e515b06cc301b3357b77d5598a6d76c19e82a5f8590",
"url": "https://osv.dev/vulnerability/CVE-2020-15178",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15178",
"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.",
"evidence": "osv:CVE-2020-15178",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-15178",
"aliases": [
"CVE-2020-15178",
"GHSA-95hx-62rh-gg96"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/prestashop/contactform",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "849aae54ec564aca94877b9bee50e71bb0468edb"
},
{
"fixed": "ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:prestashop:contactform:*:*:*:*:*:prestashop:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.3.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v4.1.1",
"v4.1.0",
"v4.0.0",
"v3.0.0",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v1.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15178.json"
}
}
],
"modified": "2026-10-20T10:51:52.978492971Z",
"provider": "osv",
"references": [
"https://github.com/PrestaShop/contactform/security/advisories/GHSA-95hx-62rh-gg96",
"https://packagist.org/packages/prestashop/contactform",
"https://github.com/PrestaShop/contactform/commit/ecd9f5d14920ec00885766a7cb41bcc5ed8bfa09"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-15178",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383078,
"published_at": "2020-09-15T18:15:13.877+00:00"
}