CVE-2020-5271 Reflected XSS with dashboard calendar of PrestaShop

Medium 4.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via reflected XSS in the PrestaShop dashboard calendar parameters.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-5271?

CVE-2020-5271 is a medium-severity cross-site scripting vulnerability in Prestashop Prestashop, published on 20 Apr 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In PrestaShop between versions 1.6.0.0 and 1.7.6.5, there is a reflected XSS with `date_from` and `date_to` parameters in the dashboard page This problem is fixed in 1.7.6.5

Weakness: CWE-79

Which versions are affected by CVE-2020-5271?

It affects 1 product.

Products include Prestashop Prestashop.

How do I fix CVE-2020-5271?

No fix has been published for CVE-2020-5271 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-5271 being exploited?

There is no known exploitation of CVE-2020-5271 in the wild and no public exploit code.

All Prestashop Prestashop vulnerabilities

Sources

Also known as GHSA-m2x6-c2c6-pjrx.

Is CVE-2020-5271 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free