-
Notifications
You must be signed in to change notification settings - Fork 381
Open
Description
Summary
Reflected XSS in save_rating.php
Details
The POST parameter stars in the star_rating_saves/save_rating.php file is output to the page via json encoding. However, there is still a risk that dangerous characters are not fully filtered out.
https://github.com/jstolpe/blog_code/blob/master/star_rating_saves/save_rating.php#L30
star_rating_saves/save_rating.php
Poc
POST
stars=<a href=javascript:alert(document.cookie)>
Impact
XSS vulnerabilities allow attackers to execute malicious scripts in users' browsers, enabling unauthorized access to sensitive data, session hijacking, or malware distribution.
If you have any other questions, you can contact me through my email snow1nd3xf@gmail.com.
Metadata
Metadata
Assignees
Labels
No labels
