CVE-2020-28457 Cross-site Scripting (XSS)
An attacker can inject malicious scripts into the admin dashboard search functionality, potentially compromising administrator accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-28457?
CVE-2020-28457 is a high-severity cross-site scripting vulnerability in s-cart/core, published on 15 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects the package s-cart/core before 4.4. The search functionality of the admin dashboard in core/src/Admin/Controllers/AdminOrderController.phpindex is vulnerable to XSS.
Weakness: CWE-79
Which versions are affected by CVE-2020-28457?
It affects 1 product.
Products include S-Cart S-Cart.
How do I fix CVE-2020-28457?
No fix has been published for CVE-2020-28457 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-28457 being exploited?
There is no known exploitation of CVE-2020-28457 in the wild and no public exploit code.
Other vulnerabilities in s-cart/core
Sources
Also known as GHSA-36ww-7vxr-9ggq, SNYK-PHP-SCARTCORE-1047342.