Drupal Security Advisory
DRUPAL-CONTRIB-2024-059
Details
The module creates an endpoint on the site at /postfile/upload that accepts a POST request for uploading a single file into a specified file system (public, private, etc).
The module doesn't sufficiently protect against Cross Site Request Forgery under allowing an attacker to trick a site user into uploading a file.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist:https://packages.drupal.org/8 | drupal/postfile | All versions before 1.0.2 (fixed in 1.0.2) |