Skip to content

Stored XSS Vulnerability #3

@CoteCyberSec

Description

@CoteCyberSec

Stored XSS Vulnerability.

Description: Malicious JavaScript can be input in the 'name' parameter on the accountSetting.php page.

Vulnerable code on accountSetting.php line 23:

if ($con->query("update users SET name='$_POST[name]',number='$_POST[number]' where id='$_SESSION[userId]'")) {

Remediation:
Sanitize the input thats provided by the user in the 'name' parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions