CVE-2021-43808

Summary

CVECVE-2021-43808
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-12-08 00:15:00 UTC
Updated2022-08-09 13:17:00 UTC
DescriptionLaravel 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.

Risk And Classification

Problem Types: CWE-327

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Laravel Framework All All All All

References

ReferenceSourceLinkTags
[6.x] Fix parent call (#39908) · laravel/framework@b817416 · GitHub MISC github.com
Release v8.75.0 · laravel/framework · GitHub MISC github.com
[6.x] Fix parent call by driesvints · Pull Request #39908 · laravel/framework · GitHub MISC github.com
[7.x] Fix parent call by GrahamCampbell · Pull Request #39909 · laravel/framework · GitHub MISC github.com
Blade `@parent` Exploitation Leading To Possible XSS · Advisory · laravel/framework · GitHub CONFIRM github.com
Release v7.30.6 · laravel/framework · GitHub MISC github.com
Release v6.20.42 · laravel/framework · GitHub MISC github.com
Parent replacement fix by taylorotwell · Pull Request #39906 · laravel/framework · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 179443 Debian Security Update for php-laravel-framework (CVE-2021-43808)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report