CVE-2021-43808Laravel Framework
Media 6.1 Sin autenticación
Seguir: esta CVE · Laravel · Laravel Framework Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probabilidad de explotación en 30 días · percentil 55
- Requiere autenticación
- No
- Publicada
- 8 dic 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
Laravel is a web application framework. Laravel prior to versions 8.75.0, 7.30.6, and 6.20.42 contain a possible cross-site scripting (XSS) vulnerability in the Blade templating engine. A broken HTML element may be clicked and the user taken to another location in their browser due to XSS. This is due to the user being able to guess the parent placeholder SHA-1 hash by trying common names of sections. If the parent template contains an exploitable HTML structure an XSS vulnerability can be exposed. This vulnerability has been patched in versions 8.75.0, 7.30.6, and 6.20.42 by determining the parent placeholder at runtime and using a random hash that is unique to each request.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Framework.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | illuminate/view |
< 6.20.42 |
6.20.42 |
composer require "illuminate/view:^6.20.42" |
| Packagist | illuminate/view |
≥ 7.0.0 < 7.30.6 |
7.30.6 |
composer require "illuminate/view:^7.30.6" |
| Packagist | illuminate/view |
≥ 8.0.0 < 8.75.0 |
8.75.0 |
composer require "illuminate/view:^8.75.0" |
| Packagist | laravel/framework |
< 6.20.42 |
6.20.42 |
composer require "laravel/framework:^6.20.42" |
| Packagist | laravel/framework |
≥ 7.0.0 < 7.30.6 |
7.30.6 |
composer require "laravel/framework:^7.30.6" |
| Packagist | laravel/framework |
≥ 8.0.0 < 8.75.0 |
8.75.0 |
composer require "laravel/framework:^8.75.0" |
Según OSV / GitHub Advisories (GHSA-66hf-2p6w-jqfw). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| laravel | framework | < 6.20.42 |
| laravel | framework | ≥ 7.0.0 < 7.30.6 |
| laravel | framework | ≥ 8.0.0 < 8.75.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Exploit Third Party Advisory