CVE-2012-20001 PrestaShop XSS Vulnerability

Medium 6.1 Published Updated

Attackers can inject malicious scripts via the message field in PrestaShop, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-20001?

CVE-2012-20001 is a medium-severity cross-site scripting vulnerability in Prestashop Prestashop, published on 21 Dec 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

PrestaShop before 1.5.2 allows XSS via the "<object data='data:text/html" substring in the message field.

Weakness: CWE-79

Which versions are affected by CVE-2012-20001?

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

PackageAffectedFixed in
prestashop/prestashop PackagistAll versions1.5.2.0
prestashop/prestashop PackagistAll versions1.5.2.0

Products include Prestashop Prestashop.

How do I fix CVE-2012-20001?

Upgrade prestashop/prestashop to 1.5.2.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-2012-20001 being exploited?

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

All Prestashop Prestashop vulnerabilities

Sources

Also known as GHSA-j33m-2537-86jm.

Is CVE-2012-20001 in your software?

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

Check your SBOMs for free