PT-2023-22993

CVE-2023-30838

·

Published

2023-04-25

·

Updated

2024-03-06

Description by

CVSS 3.1
8.5
High
MetricsAV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions PrestaShop versions prior to 8.0.4 and 1.7.8.9
Description The issue concerns the ValidateCore::isCleanHTML() method of PrestaShop, which misses hijackable events, leading to cross-site scripting (XSS) injection. This is allowed by the presence of pre-setup @keyframes methods. The XSS can hijack HTML attributes and can be triggered without any interaction by the visitor or administrator, making it as dangerous as a trivial XSS attack. Unlike other attacks that target HTML attributes and are triggered without user interaction, this one can hijack every HTML element, increasing the danger due to its complete HTML elements scope.
Recommendations For PrestaShop versions prior to 8.0.4, update to version 8.0.4 or later. For PrestaShop versions prior to 1.7.8.9, update to version 1.7.8.9 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-FH7R-996Q-GVCP
BIT-PRESTASHOP-2023-30838
Found an issue in the description? Have something to add? Feel free to write us 👾