This advisory addresses a similar issue to [Drupal core - Moderately critical - Access bypass - SA-CORE-2021-008](https://www.drupal.org/sa-core-2021-...
Original description
The description as published by the source.
This advisory addresses a similar issue to Drupal core - Moderately critical - Access bypass - SA-CORE-2021-008.
The GraphQL module allows file uploads through its HTTP API. The module does not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.
This vulnerability is mitigated by four factors:
- The GraphQL module must be enabled on the site.
- The GraphQL schema must expose a file upload by using the helper "src/GraphQL/Utility/FileUpload.php" in the module.
- An attacker must have access to that file upload via the GraphQL API.
- The site must employ a file validation module.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Affected packages
References
- advisory drupal.org
- web nvd.nist.gov
- web drupal.org