Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-43808

Laravel is a web application framework. Laravel prior to versions 8.75 ...

Overview

Published
8 Dec 2021
Modified
17 Jun 2026
Medium CVE
2 Registry packages
1 OS packages
2 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

6.1 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weakness: CWE-79, CWE-327

Affected packages · 2

Packages affected by CVE-2021-43808
EcosystemPackageVulnerableFixed in
Composer (PHP) illuminate/view <6.20.42>=7.0.0, <7.30.6>=8.0.0, <8.75.0 6.20.427.30.68.75.0
Composer (PHP) laravel/framework <6.20.42>=7.0.0, <7.30.6>=8.0.0, <8.75.0 6.20.427.30.68.75.0

Open a package to see all its vulnerabilities.

Operating systems · 5 fixes

debian 4 releases · 1 package

fixed 4
php-laravel-framework
debian fixes for CVE-2021-43808
ReleasePackageFixed in
11 php-laravel-framework 6.20.14+dfsg-2+deb11u1
12 php-laravel-framework 6.20.14+dfsg-3
13 php-laravel-framework 6.20.14+dfsg-3
14 php-laravel-framework 6.20.14+dfsg-3

echo 1 release · 1 package

fixed 1
php-laravel-framework
echo fixes for CVE-2021-43808
ReleasePackageFixed in
php-laravel-framework 6.20.14+dfsg-3

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.