drupal/view_password - SA-CONTRIB-2024-026
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/view_password | < 6.0.4 | 6.0.4 |
| Drupal module | drupal/view_password | < 6.0.4 | 6.0.4 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/view_password- Disclosed
- 31.07.2024
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2024-026 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/view_password
All published vulnerabilities of this package (Drupal module), 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.