source: https://www.securityfocus.com/bid/34824/info

GlassFish Enterprise Server is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied input.

Attacker-supplied HTML and script code would run in the context of the affected site, potentially allowing the attacker to steal cookie-based authentication credentials.

GlassFish Enterprise Server 2.1 is vulnerable; other versions may also be affected. 

http://www.example.com/applications/applications.jsf?&#039;);};alert("DSecRG_XSS");</script><!--