Skip to content

gh security check#2803

Open
Fasosnql wants to merge 3 commits intomasterfrom
gh-security-test
Open

gh security check#2803
Fasosnql wants to merge 3 commits intomasterfrom
gh-security-test

Conversation

@Fasosnql
Copy link
Contributor

No description provided.

if (userId === query.user_id) {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/html');
res.end(`<h1>Welcome, ${query.username}!</h1>`);

Check failure

Code scanning / CodeQL

Reflected cross-site scripting

Cross-site scripting vulnerability due to a [user-provided value](1).
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.

2 participants