Live threats

All CVEs / Prestashop

CVE-2024-21628Prestashop

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.5%
probability of exploitation in 30 days · percentile 36
Auth required
No
Published
Jan 2, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
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 version 8.1.3, the isCleanHtml method is not used on this this form, which makes it possible to store a cross-site scripting payload in the database. The impact is low because the HTML is not interpreted in BO, thanks to twig's escape mechanism. In FO, the cross-site scripting attack is effective, but only impacts the customer sending it, or the customer session from which it was sent. This issue affects those who have a module fetching these messages from the DB and displaying it without escaping HTML. Version 8.1.3 contains a patch for this issue.

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.1.3 8.1.3 composer require "prestashop/prestashop:^8.1.3"

Per OSV / GitHub Advisories (GHSA-vr7m-r9vm-m4wf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
prestashopprestashop< 8.1.3

Official sources

References

Links published by the sources. Open them with care.