awcodes/filament-curator is vulnerable to Path Traversal
65
Medium Risk
Filament Curator lets authenticated media-library users upload files and crop curations through a Filament panel. The curation modal's saveCuration() writes to a client-supplied key path without validation, so a crafted key can resolve onto and overwrite a sibling file inside the storage disk. Separately, SVG sanitization is gated on the client filename extension while the serving layer types the file from sniffed bytes, so SVG markup uploaded under another extension is stored unsanitized and can be served as image/svg+xml inline and execute script in the application origin. The fix validates the curation payload before writing, sanitizes SVGs based on the detected type, and pins the served Content-Type from the stored extension with a forced download and nosniff for unknown types.
You are affected if you are using a version that falls within the vulnerable range and your Filament panel lets users upload media or crop curations.
awcodes/filament-curator is vulnerable to Path Traversal in versions 3.0.0 - 3.7.10, 4.0.0 - 4.2.0 and 5.0.0 - 5.3.1.
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