Intel

AIKIDO-2026-470568

solspace/craft-freeform is vulnerable to Unrestricted Upload of File with Dangerous Type

GHSA-rg3p-gv46-823mPublished Oct 5, 2026
October 5, 2026

53

CVE Score

Medium

Unrestricted Upload of File with Dangerous Type

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the solspace/craft-freeform library to the patch version.

Who does this affect?

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.

Versions

5.0.0 - 5.16.0

Fixed in 5.16.1

Background info

solspace/craft-freeform is vulnerable to Unrestricted Upload of File with Dangerous Type in versions 5.0.0 - 5.16.0.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea