VDB
Sign up
MEDIUM6.5

GHSA-7q3w-xqjw-g3cr

Filament has inconsistent scope enforcement for its AttachAction and AssociateAction Select fields

Quick fix

GHSA-7q3w-xqjw-g3cr — filament/tables: upgrade to the fixed version with the command below.

composer require filament/tables:^3.3.51

Details

The `recordSelectOptionsQuery()` method may be used to scope the options available in the `Select` field for `AttachAction` and `AssociateAction`. However, the built-in validation rule for these fields did not apply the same scope. As a result, a user who can trigger these actions could tamper with the Livewire component's state and submit an out-of-scope value.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/filament/tables
Introduced in: 3.0.0Fixed in: 3.3.51
Fixcomposer require filament/tables:^3.3.51
Packagist/filament/actions
Introduced in: 4.0.0Fixed in: 4.11.4
Fixcomposer require filament/actions:^4.11.4
Packagist/filament/actions
Introduced in: 5.0.0Fixed in: 5.6.4
Fixcomposer require filament/actions:^5.6.4

References