VDB
Sign up
HIGH7.5

GHSA-4gh5-3hqj-x3pj

Drupal Form API ignores access restrictions on submit buttons

Quick fix

GHSA-4gh5-3hqj-x3pj — drupal/core: upgrade to the fixed version with the command below.

composer require drupal/core:^6.38

Details

The Form API in Drupal 6.x before 6.38 ignores access restrictions on submit buttons, which might allow remote attackers to bypass intended access restrictions by leveraging permission to submit a form with a button that has "#access" set to FALSE in the server-side form definition.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/drupal/core
Introduced in: 6.0Fixed in: 6.38
Fixcomposer require drupal/core:^6.38
Packagist/drupal/drupal
Introduced in: 6.0Fixed in: 6.38
Fixcomposer require drupal/drupal:^6.38

References