CVE-2007-5158

CVE-2007-5158 is a medium-severity vulnerability in Microsoft Internet Explorer with a CVSS 2.0 base score of 4.3. Its EPSS exploit-prediction score of 15% places it in the 96th percentile, indicating an elevated likelihood of exploitation.

Key facts

Description

The focus handling for the onkeydown event in Microsoft Internet Explorer 6.0 allows remote attackers to change field focus and copy keystrokes via a certain use of a JavaScript htmlFor attribute, as demonstrated by changing focus from a textarea to a file upload field, a related issue to CVE-2007-3511.

Frequently asked questions

What is CVE-2007-5158?
The focus handling for the onkeydown event in Microsoft Internet Explorer 6.0 allows remote attackers to change field focus and copy keystrokes via a certain use of a JavaScript htmlFor attribute, as demonstrated by changing focus from a textarea to a file upload field, a related issue to CVE-2007-3511.
How severe is CVE-2007-5158?
CVE-2007-5158 has a CVSS 2.0 base score of 4.3, rated medium severity.
Is CVE-2007-5158 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 15% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-5158?
CVE-2007-5158 affects Microsoft Internet Explorer. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2007-5158?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-5158 published?
CVE-2007-5158 was published on 2007-10-01 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Microsoft Internet Explorer

All CVEs affecting Microsoft Internet Explorer →