# CVE-2021-21263: Query Binding Exploitation

Source: https://junglewise.ai/threats/cve-2021-21263-query-binding-exploitation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-01-19  
License: CC BY 4.0 with a link back

CVE-2021-21263 · Severity: low · CVSS 3.1 · Published 2021-01-19

Query Binding Exploitation

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

## Quick answers

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

**How severe is CVE-2021-21263?** Low severity, with a CVSS score of 3.1, published 19 January 2021.

**Which products and versions are affected?** illuminate/database (Packagist) ECOSYSTEM:introduced=7.0.0,fixed=7.30.3; laravel/framework (Packagist) ECOSYSTEM:introduced=8.0.0,fixed=8.22.1.

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

**Am I affected by CVE-2021-21263?** Check whether you run illuminate/database (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/database (Packagist): upgrade to 7.30.3 or later

  ```sh
  composer require illuminate/database:^7.30.3
  ```

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

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


## Affected products

- illuminate/database (Packagist) ECOSYSTEM:introduced=7.0.0,fixed=7.30.3
- laravel/framework (Packagist) ECOSYSTEM:introduced=8.0.0,fixed=8.22.1

## Identifiers

- CVE-2021-21263
- GHSA-3p32-j457-pg5x

## 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)
