SCA: security update for prestashop/prestashop (GHSA-xgpm-q3mq-46rq)

medium Tenable Cloud Security Plugin ID 420495

Description

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

- 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`. (CVE-2024-21627)

See Also

https://github.com/advisories/GHSA-xgpm-q3mq-46rq

Plugin Details

Severity: Medium

ID: 420495

Version: Revision 1.4

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: Low

Score: 2.3

Percentile: 9.14

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2024-21627

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/3/2024

Vulnerability Publication Date: 1/2/2024

Reference Information

CVE: CVE-2024-21627