SCA: security update for prestashop/prestashop (GHSA-fh7r-996q-gvcp)

critical Tenable Self-Hosted Container Security Plugin ID 414526

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- PrestaShop is an Open Source e-commerce web application. Prior to versions 8.0.4 and 1.7.8.9, the
`ValidateCore::isCleanHTML()` method of Prestashop misses hijackable events which can lead to cross-site
scripting (XSS) injection, allowed by the presence of pre-setup `@keyframes` methods. This XSS, which
hijacks HTML attributes, can be triggered without any interaction by the visitor/administrator, which
makes it as dangerous as a trivial XSS attack. Contrary to other attacks which target HTML attributes and
are triggered without user interaction (such as onload / onerror which suffer from a very limited scope),
this one can hijack every HTML element, which increases the danger due to a complete HTML elements scope.
Versions 8.0.4 and 1.7.8.9 contain a fix for this issue. (CVE-2023-30838)

See Also

https://github.com/advisories/GHSA-fh7r-996q-gvcp

Plugin Details

Severity: Critical

ID: 414526

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.66

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2023-30838

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/25/2023

Vulnerability Publication Date: 4/25/2023

Reference Information

CVE: CVE-2023-30838

cwe: CWE-79