Webkit HTML Document Fragments Cross Site Scripting Vulnerability

BID:40675

Info

Webkit HTML Document Fragments Cross Site Scripting Vulnerability

Bugtraq ID: 40675
Class: Input Validation Error
CVE: CVE-2010-1394
Remote: Yes
Local: No
Published: Jun 07 2010 12:00AM
Updated: Mar 19 2015 09:21AM
Credit: Eduardo Vela Nava (sirdarckcat) of Google Inc.
Vulnerable: WebKit Open Source Project WebKit 1.2.3
WebKit Open Source Project WebKit 1.2.2
WebKit Open Source Project WebKit r52833
WebKit Open Source Project WebKit r52401
WebKit Open Source Project WebKit r51295
WebKit Open Source Project WebKit r38566
WebKit Open Source Project WebKit 1.2.2-1
WebKit Open Source Project WebKit 0
Ubuntu Ubuntu Linux 9.10 sparc
Ubuntu Ubuntu Linux 9.10 powerpc
Ubuntu Ubuntu Linux 9.10 lpia
Ubuntu Ubuntu Linux 9.10 i386
Ubuntu Ubuntu Linux 9.10 amd64
Ubuntu Ubuntu Linux 10.10 powerpc
Ubuntu Ubuntu Linux 10.10 i386
Ubuntu Ubuntu Linux 10.10 amd64
Ubuntu Ubuntu Linux 10.04 sparc
Ubuntu Ubuntu Linux 10.04 powerpc
Ubuntu Ubuntu Linux 10.04 i386
Ubuntu Ubuntu Linux 10.04 amd64
Mandriva Linux Mandrake 2010.1 x86_64
Mandriva Linux Mandrake 2010.1
Apple Safari 4.0.5 for Windows
Apple Safari 4.0.5
Apple Safari 4.0.4 for Windows
Apple Safari 4.0.4
Apple Safari 4.0.3 for Windows
Apple Safari 4.0.3
Apple Safari 4.0.2 for Windows
Apple Safari 4.0.2
Apple Safari 4.0.1
Apple Safari 4 for Windows
Apple Safari 4 Beta
Apple Safari 4
Apple iPod Touch 3.1.3
Apple iPod Touch 3.1.2
Apple iPod Touch 3.1.1
Apple iPod Touch 2.2.1
Apple iPod Touch 2.0.2
Apple iPod Touch 2.0.1
Apple iPod Touch 3.0
Apple iPod Touch 2.2
Apple iPod Touch 2.1
Apple iPod Touch 2.0
Apple iPhone 3.1.3
Apple iPhone 3.1.2
Apple iPhone 3.0.1
Apple iPhone 2.2.1
Apple iPhone 2.0.2
Apple iPhone 2.0.1
Apple iPhone 3.1
Apple iPhone 3.0
Apple iPhone 2.2
Apple iPhone 2.1
Apple iPhone 2.0
Apple iPad 3.2.1
Apple iPad 3.2.2
Apple iPad 3.2
Apple iPad 0
Apple iOS 4.0.2
Apple iOS 4.0.1
Apple iOS 3.2.2
Apple iOS 3.2.1
Apple iOS 4.2 beta
Apple iOS 4.1
Apple iOS 4
Apple iOS 3.2
Not Vulnerable: WebKit Open Source Project WebKit 1.2.5
Apple Safari 5.0 for Windows
Apple Safari 5.0
Apple Safari 4.1
Apple iOS 4.2
Apple iOS 4

Discussion

Webkit HTML Document Fragments Cross Site Scripting Vulnerability

WebKit is prone to a cross-site scripting vulnerability caused by the mishandling of HTML document fragments.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

NOTE: This issue was previously covered in BID 40620 (Apple Safari Prior to 5.0 and 4.1 Multiple Security Vulnerabilities) but has been given its own record to better document it.

Exploit / POC

Webkit HTML Document Fragments Cross Site Scripting Vulnerability

Attackers can exploit this issue by enticing an unsuspecting victim into following a malicious URI.

Solution / Fix

Webkit HTML Document Fragments Cross Site Scripting Vulnerability

Solution:
Updates are available. Please see the references for more information.


Apple Safari 4

Ubuntu Ubuntu Linux 9.10 sparc

Apple Safari 4 for Windows

Ubuntu Ubuntu Linux 9.10 powerpc

Ubuntu Ubuntu Linux 9.10 lpia

Mandriva Linux Mandrake 2010.1 x86_64

Ubuntu Ubuntu Linux 10.10 amd64

Ubuntu Ubuntu Linux 10.04 powerpc

Ubuntu Ubuntu Linux 9.10 i386

Ubuntu Ubuntu Linux 10.04 amd64

Ubuntu Ubuntu Linux 9.10 amd64

Ubuntu Ubuntu Linux 10.04 i386

Mandriva Linux Mandrake 2010.1

Ubuntu Ubuntu Linux 10.10 powerpc

Ubuntu Ubuntu Linux 10.10 i386

Ubuntu Ubuntu Linux 10.04 sparc

Apple Safari 4.0.1

Apple Safari 4.0.2

Apple Safari 4.0.2 for Windows

Apple Safari 4.0.3 for Windows

Apple Safari 4.0.3

Apple Safari 4.0.4 for Windows

Apple Safari 4.0.4

Apple Safari 4.0.5 for Windows

Apple Safari 4.0.5

References

Webkit HTML Document Fragments Cross Site Scripting Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report