-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: