drupal-graphql / drupal-graphql/graphql-examples

Investigate whether example code handles file validation properly

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
12
Forks
6
PR merge metrics
No merged PRs in 30d

Description

After the GraphQL 4.2 security release at https://www.drupal.org/project/graphql/releases/8.x-4.2 the file validation code was changed to fix an invalid file reference during validation. It appears that the example https://github.com/drupal-graphql/graphql-examples/blob/master/src/Plugin/GraphQL/Mutations/FileUpload.php for GraphQL 3.x uses a different logic and is not vulnerable, but please double check that.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.