Null Byte Injection in all fields of Profile
The report claims that null byte and other control characters can be injected into all fields of the Edit Profile functionality, and that these characters are saved on the server and rendered on the client. An attacker could cause unexpected or harmful behaviour by submitting such characters.
Originally disclosed on HackerOne
- Disclosed after 7 months
Hi Team,
Null byte injection is possible in all the fields of Edit Profile functionality.
Affected URL: https://app.legalrobot.com/account
Description: Possible Injection of control characters, such as Null Byte 0x00, \000, \x00, \z, or the Unicode representation \u0000 into vulnerable fields in the Message endpoints in order to cause unexpected, harmful behaviors. A null character can be placed in a any field of profile with the percent code %00. The ability to represent a null character does not always mean the resulting string will be correctly interpreted, as many programs will consider the null to be the end of the string.
POC:
- Register a User.
- Click on Account.
- Click on Edit Profile.
- Put some control characters.
- Click on submit.
- Control characters will be saved at Server side as well as rendered at client side.
Fix: Block the control characters from being saved on the back-end when included in user-input, as well as to suppress the output and rendering of previously-submitted control characters.
Please find the attached screen shot as well.
Thanks, Akash Saxena
Attachments

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 application does not filter or reject control characters such as null bytes in user input before storing and displaying them.
Impact
An attacker could cause unexpected or harmful behaviour by injecting control characters, though the report does not demonstrate a concrete exploit beyond storage and rendering.
What the attacker needed
A user account
The fix
The application should block control characters from being saved on the back-end when included in user input, and suppress the output and rendering of previously submitted control characters.
How it was found
- Register a user.
- Click on Account.
- Click on Edit Profile.
- Put some control characters.
- Click on submit.
- Observe that control characters are saved on the server and rendered on the client.
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 null byte is a special character that some programs treat as the end of a piece of text. The report says that if you type this character into profile fields, the website saves it and shows it back to you. This could confuse the website or other systems that read the data later.