feincms / form-designer

A simple form designer for Django
https://form-designer.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
75 stars 32 forks source link

XSS vulnerability #19

Closed michaelkuty closed 8 years ago

michaelkuty commented 8 years ago

We trust and render html(submission in admin) from users, I changed implementation which renders simple table without value|safe

18

Test with <script>alert(1)</script>

It's only for SESSION_COOKIE_HTTPONLY = False but i think that is still dangerous evaluate JS from user in Admin site..

still you can exploit the admin using http://beefproject.com/

matthiask commented 8 years ago

Nice find, thanks.