Skip to content

Cross Site Scripting (XSS) fix#1

Open
Xib3rR4dAr wants to merge 1 commit intotechhjork:masterfrom
Xib3rR4dAr:patch-1
Open

Cross Site Scripting (XSS) fix#1
Xib3rR4dAr wants to merge 1 commit intotechhjork:masterfrom
Xib3rR4dAr:patch-1

Conversation

@Xib3rR4dAr
Copy link
Copy Markdown

The file is vulnerable to Cross SIte Scripting (XSS)
and can be exploited via:
/pdo.php?id=123"><script>alert(document.domain)</script><t&search

Can be fixed by using htmlspecialchars while outputting $id

The file is vulnerable to Cross SIte Scripting (XSS)
and can be exploited via:
/pdo.php?id=123"><script>alert(document.domain)</script><t&search

Can be fixed by using htmlspecialchars while outputting $id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant