A few XSS issues - a few topics needs %URLPARAM% to be used with proper syntax e.g. TWiki.ResetPassword, TWiki.WebSearch needs to be updated for handling URLPARAM encoding in a better way.
This is encoding issue on URL parameters.
Thanks to Marc Schoenefeld and Steve 'Ashcrow' Milner for raising this issue through emails.
Thanks Peter for figuring out the solution.
--
TWiki:Main/SopanShewale
- 01 Dec 2008
All HTML input field values that have a URLPARAM need to be entity escaped as documented in
TWiki:TWiki.VarURLPARAM
and
TWiki:TWiki.VarENCODE
.
Example:
<input type="text" name="address" value="%URLPARAM{ "address" encode="entity" }%" />
--
TWiki:Main.PeterThoeny
- 01 Dec 2008
Closing this bug after release
--
TWiki:Main.SopanShewale
- 11 Dec 2008