Filament: Unvalidated ImageColumn and ImageEntry values can be used for XSS
filamentphp filament
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| filament/infolists Packagist |
|
|
| filament/tables Packagist |
|
filamentphp filament
| Product | Affected | Fixed in |
|---|---|---|
| filament/infolists Packagist |
|
|
| filament/tables Packagist |
|
|
Filament is a collection of full-stack components for accelerated Laravel development. From 4.0.0 until 4.11.5 and 5.6.5, 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. This vulnerability is fixed in 4.11.5 and 5.6.5.
From the CVE record · GitHub_M
Filament’s ImageColumn and ImageEntry render database values without HTML escaping. If those values are not validated, an attacker who can plant malicious content can trigger stored XSS when a user views the affected table or schema.
Teams running Packagist filament/infolists or filament/tables versions >=4.0.0 <4.11.5 or >=5.0.0 <5.6.5 should check their deployments.