CVE-2021-43808
Blade `@parent` Exploitation Leading To Possible XSS in Laravel
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
Laravel es un framework de aplicaciones web. Laravel versiones anteriores a 8.75.0, 7.30.6 y 6.20.42, contiene una posible vulnerabilidad de tipo cross-site scripting (XSS) en el motor de plantillas Blade. Puede hacerse clic en un elemento HTML roto y llevar al usuario a otra ubicación en su navegador debido a un ataque de tipo XSS. Esto es debido a que el usuario puede adivinar el hash SHA-1 del marcador de posición padre al probar los nombres comunes de las secciones. Si la plantilla padre contiene una estructura HTML explotable puede exponerse una vulnerabilidad de tipo XSS. Esta vulnerabilidad ha sido parcheada en las versiones 8.75.0, 7.30.6 y 6.20.42 determinando el marcador de posición padre en tiempo de ejecución y usando un hash aleatorio que es único para cada petición
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-11-16 CVE Reserved
- 2021-12-07 CVE Published
- 2024-07-13 EPSS Updated
- 2024-08-04 CVE Updated
- 2024-08-04 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-327: Use of a Broken or Risky Cryptographic Algorithm
CAPEC
References (8)
URL | Tag | Source |
---|---|---|
https://github.com/laravel/framework/releases/tag/v6.20.42 | Release Notes | |
https://github.com/laravel/framework/releases/tag/v7.30.6 | Release Notes | |
https://github.com/laravel/framework/releases/tag/v8.75.0 | Release Notes |
URL | Date | SRC |
---|---|---|
https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw | 2024-08-04 |
URL | Date | SRC |
---|---|---|
https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b | 2022-08-09 | |
https://github.com/laravel/framework/pull/39906 | 2022-08-09 | |
https://github.com/laravel/framework/pull/39908 | 2022-08-09 | |
https://github.com/laravel/framework/pull/39909 | 2022-08-09 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Laravel Search vendor "Laravel" | Framework Search vendor "Laravel" for product "Framework" | < 6.20.42 Search vendor "Laravel" for product "Framework" and version " < 6.20.42" | - |
Affected
| ||||||
Laravel Search vendor "Laravel" | Framework Search vendor "Laravel" for product "Framework" | >= 7.0.0 < 7.30.6 Search vendor "Laravel" for product "Framework" and version " >= 7.0.0 < 7.30.6" | - |
Affected
| ||||||
Laravel Search vendor "Laravel" | Framework Search vendor "Laravel" for product "Framework" | >= 8.0.0 < 8.75.0 Search vendor "Laravel" for product "Framework" and version " >= 8.0.0 < 8.75.0" | - |
Affected
|