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

Cross Site Script (XSS) attack on at least the header url param #345

Open
elongstreet88 opened this issue Oct 26, 2023 · 0 comments · May be fixed by #346
Open

Cross Site Script (XSS) attack on at least the header url param #345

elongstreet88 opened this issue Oct 26, 2023 · 0 comments · May be fixed by #346

Comments

@elongstreet88
Copy link

elongstreet88 commented Oct 26, 2023

You can execute a xss using at least the header url param (didnt check others, but assume the same for anything page rendering).

Ex:
http://localhost:2222/ssh/host/mydevice.local?header=<img src=x onerror=alert('XSS')>

Output:
image

The params would need to be sanitized properly to avoid rendering on the page.

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 a pull request may close this issue.

1 participant