VDB
Sign up
HIGH7.6

GHSA-m9cv-24rx-8mv7

Filament: Disabled RichEditor field state can be used for XSS

Quick fix

GHSA-m9cv-24rx-8mv7 — filament/forms: upgrade to the fixed version with the command below.

composer require filament/forms:^3.3.53

Details

In Filament v3, a disabled `RichEditor` field rendered its raw state without sanitizing HTML. Where the data stored in this field's state isn't sanitized already when the form state was filled, an attacker could plant malicious HTML or JavaScript and achieve XSS that executes for users who view the form.

Please note that Filament v4 and above does not use the same mechanism for rendering a disabled `RichEditor` so this advisory does not apply.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/filament/forms
Introduced in: 3.0.0Fixed in: 3.3.53
Fixcomposer require filament/forms:^3.3.53

References