# CVE-2021-43808: Laravel Framework XSS in Blade templating engine

Source: https://junglewise.ai/threats/cve-2021-43808-laravel-framework-xss-in-blade-templating-engine  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-12-08  
License: CC BY 4.0 with a link back

CVE-2021-43808 · Severity: low · CVSS 3.1 · Published 2021-12-08

Laravel Framework XSS in Blade templating engine

Technologies: [laravel/framework (Packagist)](https://junglewise.ai/threats/technologies/packagist-laravel-framework). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2021-43808 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-43808 being exploited in the wild.

**How severe is CVE-2021-43808?** Low severity, with a CVSS score of 3.1, published 8 December 2021.

**Which products and versions are affected?** illuminate/view (Packagist) ECOSYSTEM:introduced=0,fixed=6.20.42; laravel/framework (Packagist) ECOSYSTEM:introduced=0,fixed=6.20.42.

**Is there a fix for CVE-2021-43808?** Yes. illuminate/view (Packagist): upgrade to 6.20.42 or later; laravel/framework (Packagist): upgrade to 6.20.42 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-43808?** Check whether you run illuminate/view (Packagist) or laravel/framework (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- illuminate/view (Packagist): upgrade to 6.20.42 or later

  ```sh
  composer require illuminate/view:^6.20.42
  ```

- laravel/framework (Packagist): upgrade to 6.20.42 or later

  ```sh
  composer require laravel/framework:^6.20.42
  ```


## Affected products

- illuminate/view (Packagist) ECOSYSTEM:introduced=0,fixed=6.20.42
- laravel/framework (Packagist) ECOSYSTEM:introduced=0,fixed=6.20.42

## Identifiers

- CVE-2021-43808
- GHSA-66hf-2p6w-jqfw

## Related threats

- [Laravel TokenGuard authentication bypass via non-string credential](https://junglewise.ai/threats/cve-2026-114509-laravel-is-a-web-application-framework-prior-to-12-68-0-and-13)
- [Laravel privilege escalation in read-only endpoints](https://junglewise.ai/threats/cve-2026-114508-laravel-is-a-web-application-framework-from-12-45-0-until-12-68)
- [Laravel: XSS in Debug Page Information](https://junglewise.ai/threats/cve-2026-102279-laravel-is-a-web-application-framework-prior-to-12-69-0-and-13)
- [Laravel CRLF injection in email validation](https://junglewise.ai/threats/cve-2026-48019-laravel-crlf-injection-in-email-validation)
- [Laravel framework susceptible to reflected cross-site scripting](https://junglewise.ai/threats/cve-2024-13918-laravel-framework-susceptible-to-reflected-cross-site-scripting)
