Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Issue with user password sanitation #118

Open
schneiders11 opened this issue Nov 4, 2024 · 0 comments
Open

bug: Issue with user password sanitation #118

schneiders11 opened this issue Nov 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@schneiders11
Copy link

Bug Report

Plugin Version

3.5.6

PHP Version

7.3.28-1

WordPress Version

6.5.5

Bug description

User passwords that are sanitized before being compared to the hashed password will result in the hashes not matching

Other installed plugins (optional)

Additional Context (optional)

When some passwords are sanitized in AuthenticationService->authenticateUser() function before they are compared to the hash in the database, it will cause the authentication to fail. For example, if a password is 'XXX%20YYY', the sanitizeTextField function will stripe the encoded character, which will then cause the user authentication to fail.

@schneiders11 schneiders11 added the bug Something isn't working label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant