CVE-2020-5273 Stored XSS with custom URLs in PrestaShop module ps_linklist

Medium 4.1 Published Updated

Attackers can inject malicious scripts via custom URLs in the ps_linklist module, potentially compromising user sessions.

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
Available

What is CVE-2020-5273?

CVE-2020-5273 is a medium-severity cross-site scripting vulnerability in PrestaShop ps_linklist, published on 16 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 module ps_linklist versions before 3.1.0, there is a stored XSS when using custom URLs. The problem is fixed in version 3.1.0

Weakness: CWE-79

Which versions are affected by CVE-2020-5273?

2 open source packages ship an affected version, including prestashop/ps_linklist. It affects 1 product.

PackageAffectedFixed in
prestashop/ps_linklist PackagistAll versions3.1.0
prestashop/ps_linklist PackagistAll versions3.1.0

Products include Prestashop Prestashop Linklist.

How do I fix CVE-2020-5273?

Upgrade prestashop/ps_linklist to 3.1.0 or later.

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-5273 being exploited?

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

Sources

Also known as GHSA-cx2r-mf6x-55rx.

Is CVE-2020-5273 in your software?

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

Check your SBOMs for free