Alta

Possible XSS injection through Validate::isCleanHTML method

  • Publicada: 07.08.2023
  • Actualizado: 11.10.2026 10:22

ValidateCore::isCleanHTML() method of Prestashop misses hijickable events which can lead to XSS injection, allowed by the presence of pre-setup @Keyframes methods.

This XSS which hijacks HTML attributes will be triggered without any interaction of the visitor/administrator which makes it as dangerous as a trivial XSS.

Contrary to most XSS which target HTML attributes and which 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.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Paquete de Composer prestashop/prestashop >= 8.1.0, < 8.1.1, >= 8.0.0, < 8.0.5, < 1.7.8.10 8.1.1, 8.0.5, 1.7.8.10
PrestaShop (núcleo) PrestaShop >= 8.0.0, < 8.0.5, < 1.7.8.10

>= 8.0.0 < 8.0.5 and < 1.7.8.10 (Patched versions 8.1.1, 8.0.5 and 1.7.8.10)

sin corrección

Referencias

Puntuación CVSS 8.3/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:H
Debilidad (CWE)
CWE-79, CWE-116
Plataforma
Composer, PrestaShop
Paquete
prestashop/prestashop, PrestaShop
Publicada
07.08.2023
Actualizado
11.10.2026 10:22

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-xw2r-f8xv-c8xp - CC BY 4.0

Friends-Of-Presta - CVE-2023-39527 - MIT

MIT
The MIT License (MIT)

Copyright (c) 2016-present Parker Moore and the minima contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Historial de vulnerabilidades: prestashop/prestashop

Todas las vulnerabilidades publicadas de este paquete (Paquete de Composer), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (31) en el archivo
Entradas en total
31
Primera → última
12.2021 05.2026
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Crítica 5
  • Alta 8
  • Media 17
  • Baja 1

Divulgaciones por año

  1. 2021: 1
  2. 2022: 10
  3. 2023: 10
  4. 2024: 5
  5. 2025: 1
  6. 2026: 4
Gravedad:
  1. Crítica · 9.3 CVE-2026-44212 < 8.2.6, >= 9.0.0, < 9.1.1 8.2.6, 9.1.1
  2. Alta · 7.6 CVE-2026-33673 >= 9.0.0-alpha.1, < 9.1.0, < 8.2.5 9.1.0, 8.2.5
  3. Crítica · 9.6 CVE-2024-34716 >= 8.1.0, < 8.1.6 8.1.6
  4. Alta · 8.1 CVE-2024-21627 >= 8.0.0-beta.1, < 8.1.3, < 1.7.8.11 8.1.3, 1.7.8.11
  5. Possible XSS injection through Validate::isCleanHTML method esta entrada
    Alta · 8.3 CVE-2023-39527 >= 8.1.0, < 8.1.1, >= 8.0.0, < 8.0.5, < 1.7.8.10 8.1.1, 8.0.5, 1.7.8.10
  6. Crítica · 9.8 CVE-2022-31181 >= 1.6.0.10, < 1.7.8.7 1.7.8.7
  7. Alta · 8.8 CVE-2018-20717 < 1.7.2.5 1.7.2.5
  8. Alta · 8.0 CVE-2023-30838 >= 8.0.0, < 8.0.4, < 1.7.8.9 8.0.4, 1.7.8.9
  9. Crítica · 9.0 CVE-2022-21686 >= 1.7.0.0, < 1.7.8.3 1.7.8.3
  10. Alta · 7.5 CVE-2021-43789 >= 1.7.5.0, < 1.7.8.2 1.7.8.2

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.