GlassFish Enterprise Server Multiple Cross Site Scripting Vulnerabilities

Summary
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.
Solution
Updates are available. Please see https://glassfish.dev.java.net/ and/or http://www.sun.com/software/products/appsrvr/index.xml for more information.
References