CVE-2024-21628

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:*

History

08 Jan 2024, 19:11

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 5.4
v2 : unknown
v3 : 6.1
References () https://github.com/PrestaShop/PrestaShop/commit/c3d78b7e49f5fe49a9d07725c3174d005deaa597 - () https://github.com/PrestaShop/PrestaShop/commit/c3d78b7e49f5fe49a9d07725c3174d005deaa597 - Patch
References () https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-vr7m-r9vm-m4wf - () https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-vr7m-r9vm-m4wf - Vendor Advisory
First Time Prestashop
Prestashop prestashop
CPE cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:*

03 Jan 2024, 13:48

Type Values Removed Values Added
Summary
  • (es) PrestaShop es una plataforma de comercio electrónico de código abierto. Antes de la versión 8.1.3, el método isCleanHtml no se utiliza en este formulario, lo que hace posible almacenar un payload de cross site scripting en la base de datos. El impacto es bajo porque el HTML no se interpreta en BO, gracias al mecanismo de escape de twig. En FO, el ataque de cross site scripting es efectivo, pero solo afecta al cliente que lo envía o a la sesión del cliente desde donde se envió. Este problema afecta a quienes tienen un módulo que recupera estos mensajes de la base de datos y los muestra sin escapar del HTML. La versión 8.1.3 contiene un parche para este problema.

02 Jan 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-02 22:15

Updated : 2024-01-08 19:11


NVD link : CVE-2024-21628

Mitre link : CVE-2024-21628

CVE.ORG link : CVE-2024-21628


JSON object : View

Products Affected

prestashop

  • prestashop
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')