VDB
Sign up
MEDIUM6.4

GHSA-3fc8-8hp6-6jr4

Filament: Unvalidated ImageColumn and ImageEntry values can be used for XSS

Quick fix

GHSA-3fc8-8hp6-6jr4 — filament/infolists: upgrade to the fixed version with the command below.

composer require filament/infolists:^4.11.5

Details

The `ImageColumn` and `ImageEntry` components render raw database values without escaping HTML. Where the data passed to these components isn't validated, an attacker could plant malicious HTML or JavaScript and achieve stored XSS that executes for users who view the table or schema.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/filament/infolists
Introduced in: 4.0.0Fixed in: 4.11.5
Fixcomposer require filament/infolists:^4.11.5
Packagist/filament/tables
Introduced in: 4.0.0Fixed in: 4.11.5
Fixcomposer require filament/tables:^4.11.5
Packagist/filament/infolists
Introduced in: 5.0.0Fixed in: 5.6.5
Fixcomposer require filament/infolists:^5.6.5
Packagist/filament/tables
Introduced in: 5.0.0Fixed in: 5.6.5
Fixcomposer require filament/tables:^5.6.5

References