1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-12-07 05:22:22 +03:00
Files
bookstack/app/Http/Controllers/AttachmentController.php
Dan Brown 349162ea13 Prevented possible XSS via link attachments
This filters out potentially malicious javascript: or data: uri's coming
through to be attached to attachments.
Added tests to cover.

Thanks to Yassine ABOUKIR (@yassineaboukir on twitter) for reporting this
vulnerability.
2020-10-31 15:01:52 +00:00

7.9 KiB