Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-9h9q-qhxg-89xr: Filament has unvalidated ColorColumn and ColorEntry values that can be used for Cross-site Scripting

Summary

If values passed to a ColorColumn or ColumnEntry are not valid and contain a specific set of characters, applications are vulnerable to Cross-site Scripting (XSS) attack against a user who opens a page on which a color column or entry is rendered.

Versions of Filament from v3.0.0 through v3.2.114 are affected.

Please upgrade to Filament v3.2.115.

PoC

PoC will be published in a few weeks, once developers have had a chance to upgrade their apps.

Response

This vulnerability (in ColorColumn only) was reported by @sv-LayZ, who reported the issue and patched the issue during the evening of 25/09/2024. Thank you Mattis.

The review process concluded on 27/09/2024, which revealed the issue was also present in ColorEntry. This was fixed the same day and Filament v3.2.115 followed.

An explanation of the fix will be published in a few weeks, once developers have had a chance to upgrade their apps.

Although these components are no longer vulnerable to this type of XSS attack, it is good practice to validate colors, and since many Filament users may be accepting color input using the ColorPicker form component, additional color validation documentation was published.

ghsa
#xss#vulnerability#git#php
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2024-47186

Filament has unvalidated ColorColumn and ColorEntry values that can be used for Cross-site Scripting

Critical severity GitHub Reviewed Published Sep 27, 2024 in filamentphp/filament • Updated Sep 27, 2024

Package

composer filament/infolists (Composer)

Affected versions

>= 3.0.0, < 3.2.115

Summary

If values passed to a ColorColumn or ColumnEntry are not valid and contain a specific set of characters, applications are vulnerable to Cross-site Scripting (XSS) attack against a user who opens a page on which a color column or entry is rendered.

Versions of Filament from v3.0.0 through v3.2.114 are affected.

Please upgrade to Filament v3.2.115.

PoC

PoC will be published in a few weeks, once developers have had a chance to upgrade their apps.

Response

This vulnerability (in ColorColumn only) was reported by @sv-LayZ, who reported the issue and patched the issue during the evening of 25/09/2024. Thank you Mattis.

The review process concluded on 27/09/2024, which revealed the issue was also present in ColorEntry. This was fixed the same day and Filament v3.2.115 followed.

An explanation of the fix will be published in a few weeks, once developers have had a chance to upgrade their apps.

Although these components are no longer vulnerable to this type of XSS attack, it is good practice to validate colors, and since many Filament users may be accepting color input using the ColorPicker form component, additional color validation documentation was published.

References

  • GHSA-9h9q-qhxg-89xr
  • filamentphp/filament@df79893
  • https://github.com/filamentphp/filament/releases/tag/v3.2.115

Published to the GitHub Advisory Database

Sep 27, 2024

Last updated

Sep 27, 2024

ghsa: Latest News

GHSA-27wf-5967-98gx: Kubernetes kubelet arbitrary command execution