CVE-2020-29470: OpenCart Cross-site Scripting (XSS) in the Subject field of mail.
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.37158%
CWE
Published
5/24/2022
Updated
4/23/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
opencart/opencart | composer | = 3.0.3.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability occurs in the email sending functionality handled by marketing/contact controller. The exploit demonstrates XSS payload injection through the subject parameter in POST requests to /admin/index.php?route=marketing/contact/send
. The controller's send
method likely directly uses unsanitized user input from the 'subject' parameter when constructing emails, without applying HTML entity encoding or other XSS protections before outputting in email content. This matches the described attack vector where stored XSS triggers when viewing the email.