GHSA-m9cv-24rx-8mv7
Filament: Disabled RichEditor field state can be used for XSS
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | filament/forms | >= 3.0.0, < 3.3.53 | 3.3.53 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.