-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix: A3 XSS Attack #300
Open
maytlead
wants to merge
16
commits into
OWASP:master
Choose a base branch
from
maytlead:fix/A3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix: A3 XSS Attack #300
Commits on Oct 24, 2023
-
- Remove all eval functions in converting the user inputs - Convert eval to parseInt
Configuration menu - View commit details
-
Copy full SHA for 876c1e7 - Browse repository at this point
Copy the full SHA 876c1e7View commit details -
- Remove direct using of request data - Add the validation to request data
Configuration menu - View commit details
-
Copy full SHA for 0661f8b - Browse repository at this point
Copy the full SHA 0661f8bView commit details -
- Remove direct use user input in logging - Log out the encoded logging context
Configuration menu - View commit details
-
Copy full SHA for 5b7e7db - Browse repository at this point
Copy the full SHA 5b7e7dbView commit details
Commits on Oct 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b07c41f - Browse repository at this point
Copy the full SHA b07c41fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae8ced0 - Browse repository at this point
Copy the full SHA ae8ced0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fdf550 - Browse repository at this point
Copy the full SHA 3fdf550View commit details -
Configuration menu - View commit details
-
Copy full SHA for 374c1b5 - Browse repository at this point
Copy the full SHA 374c1b5View commit details -
- Use hashed password for seeding the data - Before saving the password, hash it - Compare the password with hash method
Configuration menu - View commit details
-
Copy full SHA for 4fa0232 - Browse repository at this point
Copy the full SHA 4fa0232View commit details -
- Add password protection using length, complexity
Configuration menu - View commit details
-
Copy full SHA for a6c1f67 - Browse repository at this point
Copy the full SHA a6c1f67View commit details -
- Regenerating the session whenever the user log in
Configuration menu - View commit details
-
Copy full SHA for e92abcc - Browse repository at this point
Copy the full SHA e92abccView commit details -
- Use idential error message for both username and password to not expose what is wrong to the attacker
Configuration menu - View commit details
-
Copy full SHA for a1846fb - Browse repository at this point
Copy the full SHA a1846fbView commit details -
Merge pull request #4 from maytlead/fix/A2-1
Fix: A2-1 Session Management
Configuration menu - View commit details
-
Copy full SHA for 5b9e29f - Browse repository at this point
Copy the full SHA 5b9e29fView commit details -
Merge pull request #5 from maytlead/fix/A2-2
Fix: A2-2 Password Protection
Configuration menu - View commit details
-
Copy full SHA for 7bd085f - Browse repository at this point
Copy the full SHA 7bd085fView commit details
Commits on Oct 26, 2023
-
- Make cookie only accessible via http to prevent XSS attack
Configuration menu - View commit details
-
Copy full SHA for 1a8d308 - Browse repository at this point
Copy the full SHA 1a8d308View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f68b18 - Browse repository at this point
Copy the full SHA 2f68b18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2600122 - Browse repository at this point
Copy the full SHA 2600122View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.