Live threats

All CVEs / Prestashop

CVE-2024-21627Prestashop

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 48
Auth required
No
Published
Jan 2, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

PrestaShop is an open-source e-commerce platform. Prior to versions 8.1.3 and 1.7.8.11, some event attributes are not detected by the `isCleanHTML` method. Some modules using the `isCleanHTML` method could be vulnerable to cross-site scripting. Versions 8.1.3 and 1.7.8.11 contain a patch for this issue. The best workaround is to use the `HTMLPurifier` library to sanitize html input coming from users. The library is already available as a dependency in the PrestaShop project. Beware though that in legacy object models, fields of `HTML` type will call `isCleanHTML`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Prestashop.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist prestashop/prestashop ≥ 8.0.0-beta.1 < 8.1.3 8.1.3 composer require "prestashop/prestashop:^8.1.3"
Packagist prestashop/prestashop < 1.7.8.11 1.7.8.11 composer require "prestashop/prestashop:^1.7.8.11"

Per OSV / GitHub Advisories (GHSA-xgpm-q3mq-46rq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
prestashopprestashop< 1.7.8.11
prestashopprestashop≥ 8.0.0 < 8.1.3

Official sources

References

Links published by the sources. Open them with care.