solspace/craft-freeform is vulnerable to Unrestricted Upload of File with Dangerous Type
53
Medium Risk
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.
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.
solspace/craft-freeform is vulnerable to Unrestricted Upload of File with Dangerous Type in versions 5.0.0 - 5.16.0.
Upgrade the solspace/craft-freeform 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
ISO 42001Compliant© All Intel data is openly available and commercially licensed.