CVE 2007-3511

The focus handling for the onkeydown event in Mozilla Firefox, and other versions before, and SeaMonkey before 1.1.5 allows remote attackers to change field focus and copy keystrokes via the "for" attribute in a label, which bypasses the focus prevention, as demonstrated by changing focus from a textarea to a file upload field.

See the CVE page on for more details.