awcodes/filament-curator is vulnerable to Cross-Site Scripting (XSS)
54
Medium Risk
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.
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.
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.
Upgrade the awcodes/filament-curator library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant