CVE-2007-3511: Mozilla Firefox

Medium severity, CVSS 4.3. EPSS: 2.4% chance of exploitation in the next 30 days.

The focus handling for the onkeydown event in Mozilla Firefox 1.5.0.12, 2.0.0.4 and other versions before 2.0.0.8, 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.

Affected products

  • Mozilla Firefox: up to and including 2.0.0.7; version 1.5.0.12 only; version 2.0.0.4 only; version 2.0.0.5 only; version 2.0.0.6 only
  • Mozilla Seamonkey: up to and including 1.1.4; version 1.0 only; version 1.0.1 only; version 1.0.2 only; version 1.0.3 only; version 1.0.4 only; …

Published 2007-07-03. Last modified 2026-06-16.