https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42790
--- Comment #27 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 205491 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205491&action=edit Bug 42790: (QA follow-up) Escape error messages in the extend booking modal showError() interpolated its message argument directly into innerHTML. One call site passes result.error, API response text, through unescaped, making this a stored/reflected XSS vector if the API ever echoes attacker-influenced content in an error message. Build the alert with textContent instead of a template literal. Signed-off-by: Martin Renvoize <[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/
