# CVE-2024-21627: PrestaShop some attribute not escaped in Validate::isCleanHTML method

Source: https://junglewise.ai/threats/cve-2024-21627-prestashop-some-attribute-not-escaped-in-validate-iscleanhtml  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-01-03  
License: CC BY 4.0 with a link back

CVE-2024-21627 · Severity: low · CVSS 3.1 · Published 2024-01-03

PrestaShop some attribute not escaped in Validate::isCleanHTML method

Technologies: [prestashop/prestashop (Packagist)](https://junglewise.ai/threats/technologies/prestashop-prestashop). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2024-21627 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-21627 being exploited in the wild.

**How severe is CVE-2024-21627?** Low severity, with a CVSS score of 3.1, published 3 January 2024.

**Which products and versions are affected?** prestashop/prestashop (Packagist) ECOSYSTEM:introduced=8.0.0-beta.1,fixed=8.1.3.

**Is there a fix for CVE-2024-21627?** Yes. prestashop/prestashop (Packagist): upgrade to 8.1.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-21627?** Check whether you run prestashop/prestashop (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- prestashop/prestashop (Packagist): upgrade to 8.1.3 or later

  ```sh
  composer require prestashop/prestashop:^8.1.3
  ```


## Affected products

- prestashop/prestashop (Packagist) ECOSYSTEM:introduced=8.0.0-beta.1,fixed=8.1.3

## Identifiers

- CVE-2024-21627
- GHSA-xgpm-q3mq-46rq

## Related threats

- [PrestaShop stored XSS in Customer Service view via Contact Us form](https://junglewise.ai/threats/cve-2026-44212-prestashop-stored-xss-in-customer-service-view-via-contact-us)
- [PrestaShop has multiple stored XSS vulnerabilities via unprotected Template variables](https://junglewise.ai/threats/cve-2026-33673-prestashop-has-multiple-stored-xss-vulnerabilities-via)
- [PrestaShop: Improper Use of Validation Framework](https://junglewise.ai/threats/cve-2026-33674-prestashop-improper-use-of-validation-framework)
- [PrestaShop affected by time based enumeration in FO login form](https://junglewise.ai/threats/cve-2026-25597-prestashop-affected-by-time-based-enumeration-in-fo-login-form)
- [Presta Shop vulnerable to email enumeration](https://junglewise.ai/threats/cve-2025-51586-presta-shop-vulnerable-to-email-enumeration)
