Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.RC1
-
Fix Version/s: 3.0, EE-1.8.2.GA_P04
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces
-
Assignee Priority:P2
-
ICEsoft Forum Reference:
Description
If the ice.focus parameter is set to contain JavaScript, this may be executed on a subsequent page view.
As mentioned in the forum post, setting ice.focus:
ice.focus=form.starSearchClient');alert('Xss
will allow the JavaScript to be executed because the page contains:
Ice.focus.setFocus('form.startSearclClient');alert('Xss');
This issue was already fixed for ICEfaces 1.8 code, see ICE-5181.
Also the code was later ported to ICEfaces 2.* and 3.*, see
ICE-5881.