kindredgroup / puppet-forge-server

Private Puppet forge server supports local files and both v1 and v3 API proxies
69 stars 44 forks source link

XSS issue in modules.haml #66

Closed btsibr closed 6 years ago

btsibr commented 6 years ago

modules.haml echos the user's query back without escaping, resulting in a XSS vulnerability

We've patched the acute issue by adding: - query = CGI::escape(query)

Not being a Rails expert, I'm not sure if there is a better way to:

i11 commented 6 years ago

Fixed by the https://github.com/unibet/puppet-forge-server/pull/65