http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11535

Katrin Fischer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24247|0                           |1
        is obsolete|                            |

--- Comment #3 from Katrin Fischer <[email protected]> ---
Created attachment 24267
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24267&action=edit
[PASSED QA] Bug 11535: sanitize input from patron self-registration form

This patch adds the use of C4::Scrubber to the processing of input
from the patron self-registration form, thereby closing off one
avenue for Javascript injection.

To test:

[1] Use the OPAC self-registration form to enter a new patron,
    and set its address to something like:

    <span style="color: red;">BAD</span>

[2] In the staff interface, bring up the new patron record.  The
    address will show up in red, indicating a successful HTML
    injection.
[3] Apply the patch and use self-registration to enter a new
    patron with a similar case of unwanted HTML coding.
[4] Bring up the second patron in the staff interface.  This time,
    the undesirable HTML tag should not be present.

Signed-off-by: Galen Charlton <[email protected]>
Signed-off-by: Liz Rea <[email protected]>
Tags are not present on testing.

Signed-off-by: Katrin Fischer <[email protected]>
Confirmed bug and that the patch fixes it.
Passes all tests and QA script.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to