[Bug 14962] Temp Shelving Location / On Display Module
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14962 --- Comment #692 from Jake Deery (kwenoch) <jake.deery@openfifth.co.uk> --- Created attachment 211984 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211984&action=edit Bug 14962: (QA follow-up) Fix remaining XSS, enforce the on-display edit lock server side - circ/holds_queue.tt rendered display_name into the table unescaped (stored XSS for anyone viewing the holds queue). Escape it. The holding library fallback also rendered an object instead of its name. - The item table tooltips in catalogue_detail.inc put values into data-bs-title="..." using escape_str, which does not escape double quotes, so a quote in a library, item type, location or collection description could inject attributes. Use an attribute-safe helper. Also close the unbalanced/duplicated spans, and set the tooltips up on every draw: rows are replaced on each draw, so they only ever worked on the first one. - DisplaysResource.vue interpolated the typed barcode into a warning that Dialog.vue renders with v-html. Escape it. Three strings were also .format()ted before being passed to $__, so they could never match a translation. - cataloguing/additem.pl hid the edit and delete actions for an item on an active display only in the template, so the POST could be replayed. Refuse cud-saveitem and cud-delitem for such an item, as is done for items the user may not edit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org