CVE-2021-43808Blade `@parent` Exploitation Leading To Possible XSS in Laravel
- 5.3MediumCVSS base score
- 0.83%Exploitation in 30 daysEPSS · top 42% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 21 days later
· 21 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.83% · top 42% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistilluminate/viewGHSA-66hf-2p6w-jqfw (opens in a new tab)
- Packagistlaravel/frameworkGHSA-66hf-2p6w-jqfw (opens in a new tab)
References
References8
- https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/laravel/framework/pull/39906 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/laravel/framework/pull/39908 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/laravel/framework/pull/39909 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/laravel/framework/releases/tag/v6.20.42 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/laravel/framework/releases/tag/v7.30.6 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/laravel/framework/releases/tag/v8.75.0 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-2455 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-66hf-2p6w-jqfw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-43808)Record last updated .