All vulnerabilities

Servers and applications

CVE-2024-21628

XSS can be stored in DB from "add a message form" in order detail page (FO)

Severity
Medium 6.1
Published
2 Jan 2024
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
8.1.3
Also known as
GHSA-vr7m-r9vm-m4wf
Sources
NVD, Project advisories (GitHub)

Description

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…

Affected software

SoftwareAffected versions
PrestaShopServers and applications · cpe:a:prestashop:prestashop
  • Every version before 8.1.3
PrestaShopServers and applications · github:prestashop/prestashop
  • Every version before 8.1.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-21628
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-21628
  • GitHub Advisory Database https://github.com/advisories/GHSA-vr7m-r9vm-m4wf
  • github.com https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-vr7m-r9vm-m4wf