PT-2023-22993 · Unknown · Prestashop

Mflasquin

+1

·

Published

2023-04-25

·

Updated

2024-03-06

·

CVE-2023-30838

CVSS v3.1

8.5

High

VectorAV: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.

Exploit

Fix

XSS

Weakness Enumeration

Related Identifiers

BIT-PRESTASHOP-2023-30838
CVE-2023-30838
GHSA-FH7R-996Q-GVCP

Affected Products

Prestashop