MEDIUM4.8
GHSA-87cv-57p8-j33x
OpenCart Cross-site Scripting (XSS) in the Subject field of mail.
Details
OpenCart 3.0.3.6 is affected by cross-site scripting (XSS) in the Subject field of mail. This vulnerability can allow an attacker to inject the XSS payload in the Subject field of the mail and each time any user will open that mail of the website, the XSS triggers and the attacker can able to steal the cookie according to the crafted payload.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/opencart/opencart
No fixed version published yet for opencart/opencart (composer). Pin to a known-safe version or switch to an alternative.
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/opencart/opencart"]}'