The default configuration of xterm on Debian GNU/Linux sid and possibly Ubuntu enables the allowWindowOps resource, which allows user-assisted attackers to execute arbitrary code or have unspecified other impact via escape sequences.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2006-7213
http://secunia.com/advisories/33388