DRUPAL-CONTRIB-2024-026

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/view_password/DRUPAL-CONTRIB-2024-026.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2024-026
Aliases
Published
2024-07-31T15:59:06Z
Modified
2026-09-10T03:46:05Z
Summary
[none]
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".

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/view_password

Package

Name
drupal/view_password
Purl
pkg:composer/drupal/view_password?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.0.4
Database specific
Show details
{
    "constraint": "<6.0.4"
}

Database specific

affected_versions
"<6.0.4"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/view_password/DRUPAL-CONTRIB-2024-026.json"