Security mailing lists by PureSourceCode

CVE-2021-43808

MEDIUM 6.1CVSS 3.1

Laravel Framework XSS in Blade templating engine

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.

Published
8 Dec 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-327CWE-79
Also known as
GHSA-66hf-2p6w-jqfw
Sources
NVDJSONOSV GHSA-66hf-2p6w-jqfwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD laravel framework
cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*
< 6.20.42 6.20.42
NVD laravel framework
cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.30.6 7.30.6
NVD laravel framework
cpe:2.3:a:laravel:framework:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.75.0 8.75.0
OSV Packagist laravel/framework < 6.20.42 6.20.42
OSV Packagist laravel/framework >= 7.0.0, < 7.30.6 7.30.6
OSV Packagist laravel/framework >= 8.0.0, < 8.75.0 8.75.0
OSV Packagist illuminate/view < 6.20.42 6.20.42
OSV Packagist illuminate/view >= 7.0.0, < 7.30.6 7.30.6
OSV Packagist illuminate/view >= 8.0.0, < 8.75.0 8.75.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Dec 2021)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 Dec 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.