Setting a password with a single character
The password policy claimed to reject passwords made of a single character or whitespace only, but the server still accepted a password consisting of six spaces plus one letter. An attacker could set such a weak password on an account, undermining the stated password strength rules.
- Triaged in 3 hours
- Fixed in 15 hours
- Disclosed after 23 days
Hi!,
Following my previous report, #223618, I could see that you made a change to the site which https://demo.weblate.org/accounts/password/ says
Your password can't be too similar to your other personal information. Your password must contain at least 6 characters. Your password can't be a commonly used password. Your password can't be entirely numeric. Your password can't consist of single character or whitespace only.
I found that it is possible to create a password with a single character
###Reproduction Steps
- Create a new account
- Load the link sent to your mail
- Now, set password to six spaces(tapping the space bar 6 times) and a letter included
- You'll get a success message.
##Screenshot


Regards, Shuaib
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server-side password validation did not properly reject whitespace-heavy or effectively single-character passwords, even though the policy text claimed it would.
What the attacker needed
A new account; access to the email link
How it was found
- Create a new account.
- Open the link sent to the email address.
- Set the password to six spaces plus one letter.
- Observe the success message.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A website can show rules about what a password must contain, but those rules only matter if the server actually checks them. Here the page said a password cannot be just one character or only spaces, yet the server accepted a password made mostly of spaces with one letter added. That means the check was missing or incomplete on the server side.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.