Registered color palette shades can inject CSS into rendered components
Summary
Filament renders registered color palettes as styles for several components. In affected versions, a stored palette shade could be interpreted as additional CSS in some render paths.
An application is affected only when it registers a stored, user-controlled string directly as a palette shade. A us...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| composerfilament/support |
>= 4.12.0, < 4.17.1→ >= 4.17.1 |
>= 4.17.1 |
| composerfilament/support |
>= 5.7.0, < 5.12.1→ >= 5.12.1 |
>= 5.12.1 |
Original description The description as published by the source.
Filament renders registered color palettes as styles for several components. In affected versions, a stored palette shade could be interpreted as additional CSS in some render paths.
An application is affected only when it registers a stored, user-controlled string directly as a palette shade. A user who can save such a value could persist CSS that is shown to other users, alter affected interface elements, or cause the browser to request an external image. The issue does not enable JavaScript execution, break out of the HTML attribute, or provide direct access to data. Ordinary color names, validated hexadecimal values, and palettes produced by Color::hex() or Color::generatePalette() are unaffected.
Discovered by Anthropic's OSS Scanner as vulnerability ANT-2026-VUYT44DE.
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY filamentphp/filament