Medium severity · published Jan 2, 2024
CVE-2024-21627
PrestaShop is an open-source e-commerce platform
6.1
CVSS
0.5%
EPSS
No
On KEV
Description
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`.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PR
Prestashop · Prestashop
before 1.7.8.11; 8.0.0 before 8.1.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-21627
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-21627
Patch
https://github.com/PrestaShop/PrestaShop/commit/73cfb44666818eefd501b526a894fe884dd12129
Patch
https://github.com/PrestaShop/PrestaShop/commit/ba06d18466df5b92cb841d504cc7210121104883
Vendor Advisory
https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-xgpm-q3mq-46rq
More from Prestashop
9.9
CVE-2023-30838
PrestaShop is an Open Source e-commerce web application
9.8
CVE-2023-39526
PrestaShop is an open source e-commerce web application
9.8
CVE-2023-39524
PrestaShop is an open source e-commerce web application
9.8
CVE-2022-31181
Remote code execution in prestashop
9.8
CVE-2022-21686
PrestaShop is an Open Source e-commerce platform
