Symfony Security issue - XSS attack on form helpers [message #3872]
Mon, 13 March 2006 23:19
pookey Messages: 173 Registered: January 2006 Location: Epsom, Surrey, UK
Senior Member
Synopsis
--------
Symfony's input_tag form helper is vulnerable to cross site scripting attacks.
Affected Versions
-----------------
0.6, latest beta.
Possibly older versions too.
Description
-----------
The input_tag will display a value received in the request without sanitising it's content. More information on XSS can be found here - http://en.wikipedia.org/wiki/Cross_site_scripting.
A ticket for this bug has been opened on trac.
Impact
------
By exploiting the cross-site scripting vulnerabilities, an attacker can execute arbitrary scripts running in the context of the victim's browser. The severity of this issue will vary on a site to site basis.