{"id":"DRUPAL-CONTRIB-2024-060","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).\n\nThis module accepts any uploaded file extension, including dangerous file formats so it can be used to bypass the allow\\_insecure\\_uploads config.\n\nThis vulnerability is mitigated by the fact that an attacker must have a role with the permission \"postfile upload\".","aliases":["CVE-2024-13294"],"modified":"2026-09-10T03:45:33.254282481Z","published":"2024-11-13T17:37:36Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2024-060"}],"affected":[{"package":{"name":"drupal/postfile","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/postfile?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2"}],"database_specific":{"constraint":"\u003c1.0.2"}}],"database_specific":{"affected_versions":"\u003c1.0.2","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/postfile/DRUPAL-CONTRIB-2024-060.json"}}],"schema_version":"1.9.0","credits":[{"name":"Pierre Rudloff","contact":["https://www.drupal.org/user/3611858"]}]}