drupal/file_extractor - SA-CONTRIB-2021-033
This module enables you to extract the textual content of files for use on a website, e.g. to display it or use it in search indexes.
The module doesn't sufficiently protect the administrator-defined commands that are executed on the server, which leads to post-authentication remote code execution by a limited set of users.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "Administer File Extractor" to access the settings form. Sites are encouraged to review which roles have that permission and which users have that role, to ensure that only trusted users have that permission.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/file_extractor | < 2.0.3, = 3.0.0, = 4.0.0 | 2.0.3 |
| Drupal module | drupal/file_extractor | < 2.0.3, = 3.0.0, = 4.0.0 | 2.0.3 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/file_extractor- Disclosed
- 22.09.2021
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2021-033 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/file_extractor
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.