solspace/craft-freeform is vulnerable to Unrestricted Upload of File with Dangerous Type
53
CVE Score
Medium
Unrestricted Upload of File with Dangerous Type
Freeform's File Upload Drag & Drop field lets an unauthenticated visitor with access to a public form bypass the field's configured file type and file size restrictions. The traditional upload endpoint skips page validation when the request includes a form_previous_page_button parameter, so the field records no errors even though its checks never ran, and the shared upload service stores the file without enforcing those restrictions itself. The headless drag and drop upload endpoint reaches the same unguarded upload service. The fix makes the upload service enforce the field's file type and file size restrictions before storing the file.
Upgrade the solspace/craft-freeform library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you use the File Upload Drag & Drop field on a form accessible to unauthenticated users.
5.0.0 - 5.16.0
Fixed in 5.16.1solspace/craft-freeform is vulnerable to Unrestricted Upload of File with Dangerous Type in versions 5.0.0 - 5.16.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.