Just spotted this in the latest dev snapshot and it looks like an oversight -- one of the select queries uses the q parameter without any escaping, making it trivial to trick admins into executing arbitrary queries if you can get them to click on a link to a path with an admin-notes block in use.
Rolling a patch in a moment.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | unescaped-query-1121344-2.patch | 586 bytes | eaton |
Comments
Comment #1
eaton commentedAaaand here's the patch.
Comment #2
eaton commentedComment #3
aaron commentedholy s***! thanks for catching that, @eaton. fixed & committed.
Comment #4
eaton commentedNo sweat, I saw that all the other queries were escaping things properly, so I figured it was just a mistake that slipped through. Thanks for the slick module!