https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14962

--- Comment #692 from Jake Deery (kwenoch) <[email protected]> ---
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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to