Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves #697 Remove disallowed characters in endpoint calls to prevent reflected XSS #921

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

jdaigneau5
Copy link
Collaborator

@jdaigneau5 jdaigneau5 commented Nov 17, 2022

Closes issue #697 .

Added a regex filter in validateJsonSyntax in middleware.js to remove non alphanumeric characters to prevent reflected XSS in certain browsers.

@jdaigneau5 jdaigneau5 linked an issue Nov 17, 2022 that may be closed by this pull request
@jdaigneau5 jdaigneau5 changed the title Resolves #697 Added regex filter to catch %s in endpoint calls to prevent reflected XSS Resolves #697 Added regex filter to remove disallowed characters in endpoint calls to prevent reflected XSS Nov 17, 2022
@jdaigneau5 jdaigneau5 changed the title Resolves #697 Added regex filter to remove disallowed characters in endpoint calls to prevent reflected XSS Resolves #697 Remove disallowed characters in endpoint calls to prevent reflected XSS Nov 17, 2022
@slubar slubar merged commit bc5ef8a into dev Nov 17, 2022
@slubar slubar deleted the jd-697 branch November 17, 2022 19:55
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.

validateJsonSyntax may allow reflected XSS in older browsers
2 participants