diff --git a/advisories/github-reviewed/2024/09/GHSA-9h9q-qhxg-89xr/GHSA-9h9q-qhxg-89xr.json b/advisories/github-reviewed/2024/09/GHSA-9h9q-qhxg-89xr/GHSA-9h9q-qhxg-89xr.json new file mode 100644 index 00000000000..847c1b5ba75 --- /dev/null +++ b/advisories/github-reviewed/2024/09/GHSA-9h9q-qhxg-89xr/GHSA-9h9q-qhxg-89xr.json @@ -0,0 +1,81 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-9h9q-qhxg-89xr", + "modified": "2024-09-27T20:51:01Z", + "published": "2024-09-27T20:51:01Z", + "aliases": [ + "CVE-2024-47186" + ], + "summary": "Filament has unvalidated ColorColumn and ColorEntry values that can be used for Cross-site Scripting", + "details": "### Summary\n\nIf 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.\n\nVersions of Filament from v3.0.0 through v3.2.114 are affected.\n\nPlease upgrade to Filament [v3.2.115](https://github.com/filamentphp/filament/releases/tag/v3.2.115).\n\n### PoC\n\n> *PoC will be published in a few weeks, once developers have had a chance to upgrade their apps.*\n\n### Response\n\nThis 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.\n\nThe 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](https://github.com/filamentphp/filament/releases/tag/v3.2.115) followed.\n\n> *An explanation of the fix will be published in a few weeks, once developers have had a chance to upgrade their apps.*\n\nAlthough 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](https://filamentphp.com/docs/3.x/forms/fields/color-picker#color-picker-validation).", + "severity": [ + + ], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "filament/tables" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "3.0.0" + }, + { + "fixed": "3.2.115" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Packagist", + "name": "filament/infolists" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "3.0.0" + }, + { + "fixed": "3.2.115" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/filamentphp/filament/security/advisories/GHSA-9h9q-qhxg-89xr" + }, + { + "type": "WEB", + "url": "https://github.com/filamentphp/filament/commit/df7989352464d08eda5837ef50f9997fad902316" + }, + { + "type": "PACKAGE", + "url": "https://github.com/filamentphp/filament" + }, + { + "type": "WEB", + "url": "https://github.com/filamentphp/filament/releases/tag/v3.2.115" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-79" + ], + "severity": "CRITICAL", + "github_reviewed": true, + "github_reviewed_at": "2024-09-27T20:51:01Z", + "nvd_published_at": null + } +} \ No newline at end of file