kunstmaan/form-bundle is vulnerable to Arbitrary File Upload
98
Critical Risk
The public form-submission file field in the FormBundle accepts uploads from unauthenticated visitors with no file-type restriction. When server-side MIME guessing fails, the uploaded file is stored under its client-supplied extension in a web-accessible directory beneath public/. This lets an unauthenticated visitor upload a .php file for remote code execution, or an .html or .svg file for stored cross-site scripting served inline. The fix enforces an extension allow-list, derives the stored extension from the uploaded file content instead of the client filename, rejects un-guessable types, and stores submissions under a non-guessable directory name.
You are affected if you are using a version that falls within the vulnerable range and you expose a public form that contains a file upload field.
kunstmaan/form-bundle is vulnerable to Arbitrary File Upload in versions 0.0.1 - 7.3.0.
Upgrade the kunstmaan/form-bundle and/or the kunstmaan/bundles-cms 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