ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2024-026

Details

The View Password module enables you to add a help icon button next to the password input field to toggle the password visibility. The administrative user is allowed to add classes to this icon for styling purposes.

The module doesn't validate the content of classes. A malicious user with access to the View Password Settings Form could add malicious code in the classes field.

This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer view password".

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/view_password
All versions before 6.0.4 (fixed in 6.0.4)

References