{"api_version":"1","generated_at":"2026-04-09T12:14:37+00:00","cve":"CVE-2021-43808","urls":{"html":"https://cve.report/CVE-2021-43808","api":"https://cve.report/api/cve/CVE-2021-43808.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43808","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43808"},"summary":{"title":"CVE-2021-43808","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-12-08 00:15:00","updated_at":"2022-08-09 13:17:00"},"problem_types":["CWE-327"],"metrics":[],"references":[{"url":"https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b","name":"https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b","refsource":"MISC","tags":[],"title":"[6.x] Fix parent call (#39908) · laravel/framework@b817416 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/laravel/framework/releases/tag/v8.75.0","name":"https://github.com/laravel/framework/releases/tag/v8.75.0","refsource":"MISC","tags":[],"title":"Release v8.75.0 · laravel/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/laravel/framework/pull/39908","name":"https://github.com/laravel/framework/pull/39908","refsource":"MISC","tags":[],"title":"[6.x] Fix parent call by driesvints · Pull Request #39908 · laravel/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/laravel/framework/pull/39909","name":"https://github.com/laravel/framework/pull/39909","refsource":"MISC","tags":[],"title":"[7.x] Fix parent call by GrahamCampbell · Pull Request #39909 · laravel/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw","name":"https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw","refsource":"CONFIRM","tags":[],"title":"Blade `@parent` Exploitation Leading To Possible XSS · Advisory · laravel/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/laravel/framework/releases/tag/v7.30.6","name":"https://github.com/laravel/framework/releases/tag/v7.30.6","refsource":"MISC","tags":[],"title":"Release v7.30.6 · laravel/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/laravel/framework/releases/tag/v6.20.42","name":"https://github.com/laravel/framework/releases/tag/v6.20.42","refsource":"MISC","tags":[],"title":"Release v6.20.42 · laravel/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/laravel/framework/pull/39906","name":"https://github.com/laravel/framework/pull/39906","refsource":"MISC","tags":[],"title":"Parent replacement fix by taylorotwell · Pull Request #39906 · laravel/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43808","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43808","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43808","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"laravel","cpe5":"framework","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-43808","qid":"179443","title":"Debian Security Update for php-laravel-framework (CVE-2021-43808)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43808","STATE":"PUBLIC","TITLE":"Blade `@parent` Exploitation Leading To Possible XSS in Laravel"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"framework","version":{"version_data":[{"version_value":">= 8.0.0, < 8.75.0"},{"version_value":">= 7.0.0, < 7.30.6"},{"version_value":"< 6.20.42"}]}}]},"vendor_name":"laravel"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw","refsource":"CONFIRM","url":"https://github.com/laravel/framework/security/advisories/GHSA-66hf-2p6w-jqfw"},{"name":"https://github.com/laravel/framework/pull/39906","refsource":"MISC","url":"https://github.com/laravel/framework/pull/39906"},{"name":"https://github.com/laravel/framework/pull/39908","refsource":"MISC","url":"https://github.com/laravel/framework/pull/39908"},{"name":"https://github.com/laravel/framework/pull/39909","refsource":"MISC","url":"https://github.com/laravel/framework/pull/39909"},{"name":"https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b","refsource":"MISC","url":"https://github.com/laravel/framework/commit/b8174169b1807f36de1837751599e2828ceddb9b"},{"name":"https://github.com/laravel/framework/releases/tag/v6.20.42","refsource":"MISC","url":"https://github.com/laravel/framework/releases/tag/v6.20.42"},{"name":"https://github.com/laravel/framework/releases/tag/v7.30.6","refsource":"MISC","url":"https://github.com/laravel/framework/releases/tag/v7.30.6"},{"name":"https://github.com/laravel/framework/releases/tag/v8.75.0","refsource":"MISC","url":"https://github.com/laravel/framework/releases/tag/v8.75.0"}]},"source":{"advisory":"GHSA-66hf-2p6w-jqfw","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-12-08 00:15:00","lastModifiedDate":"2022-08-09 13:17:00","problem_types":["CWE-327"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*","versionEndExcluding":"6.20.42","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.0","versionEndExcluding":"7.30.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*","versionStartIncluding":"8.0.0","versionEndExcluding":"8.75.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43808","Ordinal":"221388","Title":"CVE-2021-43808","CVE":"CVE-2021-43808","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43808","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}