vendor:
Safari
by:
Project Zero
7,5
CVSS
HIGH
Cross-Origin Script Execution
20
CWE
Product Name: Safari
Affected Version From: Apple Safari before 11.1.2
Affected Version To: Apple Safari 11.1.2
Patch Exists: YES
Related CWE: CVE-2018-4192
CPE: o:apple:safari
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: macOS, iOS
2018
Cross-Origin Script Execution
A vulnerability in the JSCallbackData::invokeCallback method of WebKit, as used in Apple Safari before 11.1.2, allows remote attackers to execute arbitrary code in a different origin by providing a crafted web site that provides a window with a different origin and invoking JSCallbackData::invokeCallback with it. This is due to the fact that the ExecState object is obtained from the callback object, which can be from a different origin.
Mitigation:
Upgrade to Apple Safari 11.1.2 or later.