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

[BUG] Reflected XSS #2779

Open
discodamone opened this issue Sep 21, 2022 · 1 comment
Open

[BUG] Reflected XSS #2779

discodamone opened this issue Sep 21, 2022 · 1 comment
Labels

Comments

@discodamone
Copy link

I would have reported this privately but there is no security policy for this repo.

Describe the bug
Reflected XSS at /render/?cacheTimeout=<img%20src=x%20onerror=alert(document.domain)> due to an error message that doesn't sanitize the output when cacheTimeout is not an integer.

To Reproduce
Run the server, visit /render/?cacheTimeout=<img%20src=x%20onerror=alert(document.domain)>

Expected behavior
Output the error with no HTML tags allowed

Environment (please complete the following information):
I ran docker with graphite 1.10.0

@deniszh
Copy link
Member

deniszh commented Nov 6, 2022

Looks like fixed in #2782

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants