CVE-2017-2510
Description
An issue was discovered in certain Apple products. iOS before 10.3.2 is affected. Safari before 10.1.1 is affected. The issue involves the "WebKit" component. It allows remote attackers to conduct Universal XSS (UXSS) attacks via a crafted web site that improperly interacts with pageshow events.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
WebKit in iOS and Safari before 10.3.2/10.1.1 allows UXSS via crafted pages that improperly interact with pageshow events.
Vulnerability
The vulnerability resides in WebKit's handling of pageshow events during restoration of cached frames. When a page is restored from the page cache, CachedFrameBase::restore calls enqueuePageshowEvent, which synchronously dispatches the pageshow event on the window. During this dispatch, JavaScript handlers can trigger navigation or other actions that cause the parent frame's document to be replaced, leading to a race condition. Specifically, the open method on child frames can re-enter CachedFrameBase::restore, causing the iteration over child frames to operate on a stale document. This allows a crafted website to bypass the same-origin policy. Affected versions include iOS prior to 10.3.2 and Safari prior to 10.1.1 [1][2].
Exploitation
An attacker can exploit this by crafting a malicious website that uses iframes and the pageshow event to trigger the race condition. The exploit relies on user interaction only to the extent that the victim visits the crafted page. The PoC in [3] demonstrates using two iframes with onpageshow handlers: one that navigates the top window and calls showModalDialog, and another that repeatedly checks for a cross-origin property. The race causes the sibling frame to be attached to a wrong document, enabling the page to access properties of a different origin.
Impact
Successful exploitation allows a remote attacker to perform Universal XSS (UXSS), executing arbitrary scripts in the context of any website loaded in the browser. This can lead to theft of sensitive data, session hijacking, or other malicious actions within the security context of the victim's browsing session.
Mitigation
Apple released fixes with iOS 10.3.2 and Safari 10.1.1 on May 15, 2017 [1][2]. For Gentoo Linux, WebKitGTK+ users should upgrade to version 2.16.3 or later [4]. No workarounds are available; updating to the patched version is the recommended action.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
14- osv-coords12 versionspkg:rpm/opensuse/gtk3&distro=openSUSE%20Tumbleweedpkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP2pkg:rpm/suse/webkit2gtk3&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP3
< 2.32.4-1.1+ 11 more
- (no CPE)range: < 2.32.4-1.1
- (no CPE)range: < 2.18.0-2.9.1
- (no CPE)range: < 2.18.0-2.9.1
- (no CPE)range: < 2.18.0-2.9.1
- (no CPE)range: < 2.18.0-2.9.1
- (no CPE)range: < 2.18.0-2.9.1
- (no CPE)range: < 2.18.0-2.9.1
- (no CPE)range: < 2.18.0-2.9.1
- (no CPE)range: < 2.18.0-2.9.1
- (no CPE)range: < 2.18.0-2.9.1
- (no CPE)range: < 2.18.0-2.9.1
- (no CPE)range: < 2.18.0-2.9.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- support.apple.com/HT207798nvdVendor Advisory
- support.apple.com/HT207804nvdVendor Advisory
- www.securityfocus.com/bid/98474nvd
- www.securitytracker.com/id/1038487nvd
- security.gentoo.org/glsa/201706-15nvd
- www.exploit-db.com/exploits/42067/nvd
News mentions
0No linked articles in our index yet.