YadavAkhileshh / Alien-Invasion-Defense

Alien Invasion Defense is a fun web-based game created with HTML, CSS, and JavaScript. With a user-friendly interface and smooth gameplay, it’s perfect for players of all ages. Over 1,000 users have enjoyed the engaging challenges as they defend Earth from alien invaders. Join the action and see if you have what it takes to protect our planet!
https://alienid.netlify.app/
MIT License
60 stars 201 forks source link

[BUG] : Allowing Special characters like (!,<,>,==,&&) will lead to clinet side injection attacks and cause website compromise and also i would like to add a login page #362

Open pand-coder opened 4 weeks ago

pand-coder commented 4 weeks ago

Description

Issue Description:

The password field currently allows the input of special characters (e.g., <, >, .

Submit the form.

Expected Behavior: Special characters such as <, >, and script tags should be disallowed in the password field to prevent injection attacks.

Actual Behavior:

Special characters are allowed, and malicious scripts can be executed.

Screenshots

image

Any additional information?

No response

What browser are you seeing the problem on?

No response

Checklist

github-actions[bot] commented 4 weeks ago

👋 Thank you @pand-coder for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!