Intel

AIKIDO-2026-972512

awcodes/filament-curator is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-fc8p-659h-3959 Published Aug 10, 2026

54

Medium Risk

This Affects:

PHPawcodes/filament-curator
4.0.0 - 4.1.4
Fixed in 4.1.5
5.0.0 - 5.1.4
Fixed in 5.1.5
Are you affected? Scan for Free

TL;DR

Curator's upload components fall back to a default accepted-file-types list that includes text/html, application/xhtml+xml, text/javascript, application/xml and application/octet-stream when no explicit accepted types are configured. An authenticated user permitted to upload media can upload an HTML file that is stored unmodified and later served from the application's own origin as text/html. When another user opens the file the embedded script executes in their session, allowing stored cross-site scripting and theft of a more privileged session. The fix removes executable content types from the default list and serves restricted types with a nosniff header and attachment disposition.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you rely on Curator's default accepted file types rather than configuring acceptedFileTypes() yourself, with authenticated users permitted to upload media.

Background info

awcodes/filament-curator is vulnerable to Cross-Site Scripting (XSS) in versions 4.0.0 - 4.1.4 and 5.0.0 - 5.1.4.

How to fix this

Upgrade the awcodes/filament-curator library to the patch version.