{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-43808","published":"2021-12-08T00:15:07.683000Z","last_modified":"2026-06-17T04:11:28.820000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79","CWE-327"],"cpes":[{"criteria":"cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*","part":"a","vendor":"laravel","product":"framework","version_end_excluding":"6.20.42"},{"criteria":"cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*","part":"a","vendor":"laravel","product":"framework","version_start_including":"7.0.0","version_end_excluding":"7.30.6"},{"criteria":"cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*","part":"a","vendor":"laravel","product":"framework","version_start_including":"8.0.0","version_end_excluding":"8.75.0"}],"cpes_truncated":false,"vendors":["laravel"],"products":["laravel/framework"],"epss":{"score":0.00825,"percentile":0.54571,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-66hf-2p6w-jqfw","ecosystem":"Packagist","name":"illuminate/view","purl":"pkg:composer/illuminate/view","ranges":[{"introduced":"0","fixed":"6.20.42"}],"versions":["v5.6.1","v5.6.10","v5.6.11","v5.6.12","v5.6.13","v5.6.14","v5.6.15","v5.6.16","v5.6.17","v5.6.19","v5.6.2","v5.6.20","v5.6.21","v5.6.22","v5.6.23","v5.6.24","v5.6.25","v5.6.26","v5.6.27","v5.6.28","v5.6.29","v5.6.3","v5.6.30","v5.6.31","v5.6.32","v5.6.33","v5.6.34","v5.6.35","v5.6.36","v5.6.37","v5.6.38","v5.6.39","v5.6.4","v5.6.5","v5.6.6","v5.6.7","v5.6.8","v5.6.9","v5.7.0","v5.7.1","v5.7.10","v5.7.11","v5.7.15","v5.7.2","v5.7.20","v5.7.21","v5.7.22","v5.7.23","v5.7.26","v5.7.27","v5.7.28","v5.7.3","v5.7.4","v5.7.5","v5.7.6","v5.7.7","v5.7.8","v5.7.9","v5.8.0","v5.8.11","v5.8.12","v5.8.14","v5.8.15","v5.8.17","v5.8.18","v5.8.19","v5.8.2","v5.8.20","v5.8.22","v5.8.24","v5.8.27","v5.8.28","v5.8.29","v5.8.3","v5.8.30","v5.8.31","v5.8.32","v5.8.33","v5.8.34","v5.8.35","v5.8.36","v5.8.4","v5.8.8","v5.8.9","v6.0.0","v6.0.1","v6.0.2","v6.0.3","v6.0.4","v6.1.0","v6.10.0","v6.11.0","v6.12.0","v6.13.0","v6.13.1","v6.14.0","v6.15.0","v6.15.1","v6.16.0","v6.17.0","v6.17.1","v6.18.0","v6.18.1","v6.18.10","v6.18.11","v6.18.12","v6.18.13","v6.18.14","v6.18.15","v6.18.16","v6.18.17","v6.18.18","v6.18.19","v6.18.2","v6.18.20","v6.18.21","v6.18.22","v6.18.23","v6.18.24","v6.18.25","v6.18.26","v6.18.27","v6.18.28","v6.18.29","v6.18.3","v6.18.30","v6.18.31","v6.18.32","v6.18.33","v6.18.34","v6.18.35","v6.18.36","v6.18.37","v6.18.38","v6.18.39","v6.18.4","v6.18.40","v6.18.41","v6.18.42","v6.18.43","v6.18.5","v6.18.6","v6.18.7","v6.18.8","v6.18.9","v6.19.0","v6.19.1","v6.2.0","v6.20.0","v6.20.1","v6.20.10","v6.20.11","v6.20.12","v6.20.13","v6.20.14","v6.20.15","v6.20.16","v6.20.17","v6.20.18","v6.20.19","v6.20.2","v6.20.20","v6.20.21","v6.20.22","v6.20.23","v6.20.24","v6.20.25","v6.20.26","v6.20.27","v6.20.28","v6.20.29","v6.20.3","v6.20.30","v6.20.31","v6.20.32","v6.20.33","v6.20.34","v6.20.35","v6.20.36","v6.20.37","v6.20.38","v6.20.39","v6.20.4","v6.20.40","v6.20.41","v6.20.5","v6.20.6","v6.20.7","v6.20.8","v6.20.9","v6.3.0","v6.4.1","v6.5.0","v6.5.1","v6.5.2","v6.6.0","v6.6.1","v6.6.2","v6.7.0","v6.8.0"],"versions_truncated":false},{"advisory":"GHSA-66hf-2p6w-jqfw","ecosystem":"Packagist","name":"illuminate/view","purl":"pkg:composer/illuminate/view","ranges":[{"introduced":"7.0.0","fixed":"7.30.6"}],"versions":["v7.0.0","v7.0.1","v7.0.2","v7.0.3","v7.0.4","v7.0.5","v7.0.6","v7.0.7","v7.0.8","v7.1.0","v7.1.1","v7.1.2","v7.1.3","v7.10.0","v7.10.1","v7.10.2","v7.10.3","v7.11.0","v7.12.0","v7.13.0","v7.14.0","v7.14.1","v7.15.0","v7.16.0","v7.16.1","v7.17.0","v7.17.1","v7.17.2","v7.18.0","v7.19.0","v7.19.1","v7.2.0","v7.2.1","v7.2.2","v7.20.0","v7.21.0","v7.22.0","v7.22.1","v7.22.2","v7.22.3","v7.22.4","v7.23.0","v7.23.1","v7.23.2","v7.24.0","v7.25.0","v7.26.0","v7.26.1","v7.27.0","v7.28.0","v7.28.1","v7.28.2","v7.28.3","v7.28.4","v7.29.0","v7.29.1","v7.29.2","v7.29.3","v7.3.0","v7.30.0","v7.30.1","v7.30.2","v7.30.3","v7.30.4","v7.30.5","v7.4.0","v7.5.0","v7.5.1","v7.5.2","v7.6.0","v7.6.1","v7.6.2","v7.7.0","v7.7.1","v7.8.0","v7.8.1","v7.9.0","v7.9.1","v7.9.2"],"versions_truncated":false},{"advisory":"GHSA-66hf-2p6w-jqfw","ecosystem":"Packagist","name":"illuminate/view","purl":"pkg:composer/illuminate/view","ranges":[{"introduced":"8.0.0","fixed":"8.75.0"}],"versions":["v8.0.0","v8.0.1","v8.0.2","v8.0.3","v8.0.4","v8.1.0","v8.10.0","v8.11.0","v8.11.1","v8.11.2","v8.12.0","v8.12.1","v8.12.2","v8.12.3","v8.13.0","v8.14.0","v8.15.0","v8.16.0","v8.16.1","v8.17.0","v8.17.2","v8.18.0","v8.18.1","v8.19.0","v8.2.0","v8.20.0","v8.20.1","v8.21.0","v8.22.0","v8.22.1","v8.23.1","v8.24.0","v8.25.0","v8.26.0","v8.26.1","v8.27.0","v8.28.0","v8.28.1","v8.29.0","v8.3.0","v8.30.0","v8.30.1","v8.31.0","v8.32.0","v8.32.1","v8.33.0","v8.33.1","v8.34.0","v8.35.0","v8.35.1","v8.36.0","v8.36.1","v8.36.2","v8.37.0","v8.38.0","v8.39.0","v8.4.0","v8.40.0","v8.41.0","v8.42.0","v8.42.1","v8.43.0","v8.44.0","v8.45.0","v8.45.1","v8.46.0","v8.47.0","v8.48.0","v8.48.1","v8.48.2","v8.49.0","v8.49.1","v8.49.2","v8.5.0","v8.50.0","v8.51.0","v8.52.0","v8.53.0","v8.53.1","v8.54.0","v8.55.0","v8.56.0","v8.57.0","v8.58.0","v8.59.0","v8.6.0","v8.60.0","v8.61.0","v8.62.0","v8.63.0","v8.64.0","v8.65.0","v8.66.0","v8.67.0","v8.68.0","v8.68.1","v8.69.0","v8.7.0","v8.7.1","v8.70.0","v8.70.1","v8.70.2","v8.71.0","v8.72.0","v8.73.0","v8.73.1","v8.73.2","v8.74.0","v8.8.0","v8.9.0"],"versions_truncated":false},{"advisory":"GHSA-66hf-2p6w-jqfw","ecosystem":"Packagist","name":"laravel/framework","purl":"pkg:composer/laravel/framework","ranges":[{"introduced":"0","fixed":"6.20.42"}],"versions":["v5.6.35","v5.6.36","v5.6.37","v5.6.38","v5.6.39","v5.6.4","v5.6.40","v5.6.5","v5.6.6","v5.6.7","v5.6.8","v5.6.9","v5.7.0","v5.7.1","v5.7.10","v5.7.11","v5.7.12","v5.7.13","v5.7.14","v5.7.15","v5.7.16","v5.7.17","v5.7.18","v5.7.19","v5.7.2","v5.7.20","v5.7.21","v5.7.22","v5.7.23","v5.7.24","v5.7.25","v5.7.26","v5.7.27","v5.7.28","v5.7.29","v5.7.3","v5.7.4","v5.7.5","v5.7.6","v5.7.7","v5.7.8","v5.7.9","v5.8.0","v5.8.1","v5.8.10","v5.8.11","v5.8.12","v5.8.13","v5.8.14","v5.8.15","v5.8.16","v5.8.17","v5.8.18","v5.8.19","v5.8.2","v5.8.20","v5.8.21","v5.8.22","v5.8.23","v5.8.24","v5.8.25","v5.8.26","v5.8.27","v5.8.28","v5.8.29","v5.8.3","v5.8.30","v5.8.31","v5.8.32","v5.8.33","v5.8.34","v5.8.35","v5.8.36","v5.8.37","v5.8.38","v5.8.4","v5.8.5","v5.8.6","v5.8.7","v5.8.8","v5.8.9","v6.0.0","v6.0.1","v6.0.2","v6.0.3","v6.0.4","v6.1.0","v6.10.0","v6.10.1","v6.11.0","v6.12.0","v6.13.0","v6.13.1","v6.14.0","v6.15.0","v6.15.1","v6.16.0","v6.17.0","v6.17.1","v6.18.0","v6.18.1","v6.18.10","v6.18.11","v6.18.12","v6.18.13","v6.18.14","v6.18.15","v6.18.16","v6.18.17","v6.18.18","v6.18.19","v6.18.2","v6.18.20","v6.18.21","v6.18.22","v6.18.23","v6.18.24","v6.18.25","v6.18.26","v6.18.27","v6.18.28","v6.18.29","v6.18.3","v6.18.30","v6.18.31","v6.18.32","v6.18.33","v6.18.34","v6.18.35","v6.18.36","v6.18.37","v6.18.38","v6.18.39","v6.18.4","v6.18.40","v6.18.41","v6.18.42","v6.18.43","v6.18.5","v6.18.6","v6.18.7","v6.18.8","v6.18.9","v6.19.0","v6.19.1","v6.2.0","v6.20.0","v6.20.1","v6.20.10","v6.20.11","v6.20.12","v6.20.13","v6.20.14","v6.20.15","v6.20.16","v6.20.17","v6.20.18","v6.20.19","v6.20.2","v6.20.20","v6.20.21","v6.20.22","v6.20.23","v6.20.24","v6.20.25","v6.20.26","v6.20.27","v6.20.28","v6.20.29","v6.20.3","v6.20.30","v6.20.31","v6.20.32","v6.20.33","v6.20.34","v6.20.35","v6.20.36","v6.20.37","v6.20.38","v6.20.39","v6.20.4","v6.20.40","v6.20.41","v6.20.5","v6.20.6","v6.20.7","v6.20.8","v6.20.9","v6.3.0","v6.4.0","v6.4.1","v6.5.0","v6.5.1","v6.5.2","v6.6.0","v6.6.1","v6.6.2","v6.7.0","v6.8.0","v6.9.0"],"versions_truncated":false},{"advisory":"GHSA-66hf-2p6w-jqfw","ecosystem":"Packagist","name":"laravel/framework","purl":"pkg:composer/laravel/framework","ranges":[{"introduced":"7.0.0","fixed":"7.30.6"}],"versions":["v7.0.0","v7.0.1","v7.0.2","v7.0.3","v7.0.4","v7.0.5","v7.0.6","v7.0.7","v7.0.8","v7.1.0","v7.1.1","v7.1.2","v7.1.3","v7.10.0","v7.10.1","v7.10.2","v7.10.3","v7.11.0","v7.12.0","v7.13.0","v7.14.0","v7.14.1","v7.15.0","v7.16.0","v7.16.1","v7.17.0","v7.17.1","v7.17.2","v7.18.0","v7.19.0","v7.19.1","v7.2.0","v7.2.1","v7.2.2","v7.20.0","v7.21.0","v7.22.0","v7.22.1","v7.22.2","v7.22.3","v7.22.4","v7.23.0","v7.23.1","v7.23.2","v7.24.0","v7.25.0","v7.26.0","v7.26.1","v7.27.0","v7.28.0","v7.28.1","v7.28.2","v7.28.3","v7.28.4","v7.29.0","v7.29.1","v7.29.2","v7.29.3","v7.3.0","v7.30.0","v7.30.1","v7.30.2","v7.30.3","v7.30.4","v7.30.5","v7.4.0","v7.5.0","v7.5.1","v7.5.2","v7.6.0","v7.6.1","v7.6.2","v7.7.0","v7.7.1","v7.8.0","v7.8.1","v7.9.0","v7.9.1","v7.9.2"],"versions_truncated":false},{"advisory":"GHSA-66hf-2p6w-jqfw","ecosystem":"Packagist","name":"laravel/framework","purl":"pkg:composer/laravel/framework","ranges":[{"introduced":"8.0.0","fixed":"8.75.0"}],"versions":["v8.0.0","v8.0.1","v8.0.2","v8.0.3","v8.0.4","v8.1.0","v8.10.0","v8.11.0","v8.11.1","v8.11.2","v8.12.0","v8.12.1","v8.12.2","v8.12.3","v8.13.0","v8.14.0","v8.15.0","v8.16.0","v8.16.1","v8.17.0","v8.17.1","v8.17.2","v8.18.0","v8.18.1","v8.19.0","v8.2.0","v8.20.0","v8.20.1","v8.21.0","v8.22.0","v8.22.1","v8.23.0","v8.23.1","v8.24.0","v8.25.0","v8.26.0","v8.26.1","v8.27.0","v8.28.0","v8.28.1","v8.29.0","v8.3.0","v8.30.0","v8.30.1","v8.31.0","v8.32.0","v8.32.1","v8.33.0","v8.33.1","v8.34.0","v8.35.0","v8.35.1","v8.36.0","v8.36.1","v8.36.2","v8.37.0","v8.38.0","v8.39.0","v8.4.0","v8.40.0","v8.41.0","v8.42.0","v8.42.1","v8.43.0","v8.44.0","v8.45.0","v8.45.1","v8.46.0","v8.47.0","v8.48.0","v8.48.1","v8.48.2","v8.49.0","v8.49.1","v8.49.2","v8.5.0","v8.50.0","v8.51.0","v8.52.0","v8.53.0","v8.53.1","v8.54.0","v8.55.0","v8.56.0","v8.57.0","v8.58.0","v8.59.0","v8.6.0","v8.60.0","v8.61.0","v8.62.0","v8.63.0","v8.64.0","v8.65.0","v8.66.0","v8.67.0","v8.68.0","v8.68.1","v8.69.0","v8.7.0","v8.7.1","v8.70.0","v8.70.1","v8.70.2","v8.71.0","v8.72.0","v8.73.0","v8.73.1","v8.73.2","v8.74.0","v8.8.0","v8.9.0"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-43808/","html_en":"/en/cve/CVE-2021-43808/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43808","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43808"},"untrusted":{"vendor_name":"Laravel","product_name":"Framework","desc_en":"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.","affected":[{"untrusted_vendor":"laravel","untrusted_product":"framework","versions":[]}],"references":[{"url":"https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/laravel/framework/pull/39906","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/laravel/framework/pull/39908","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/laravel/framework/pull/39909","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/laravel/framework/releases/tag/v6.20.42","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/laravel/framework/releases/tag/v7.30.6","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/laravel/framework/releases/tag/v8.75.0","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw","tags":["Exploit","Third Party Advisory"]}]}}