WebKit: Loading a malicious iframe may lead to a cross-site scripting attack (CVE-2025-24208)
A permissions issue in WebKit could allow a malicious iframe to trigger a cross-site scripting attack. The flaw was addressed with additional restrictions.
Originally disclosed on Apple
Impact: Loading a malicious iframe may lead to a cross-site scripting attack
Description: A permissions issue was addressed with additional restrictions.
Available for: iPhone XS and later, iPad Pro 13-inch, iPad Pro 12.9-inch 3rd generation and later, iPad Pro 11-inch 1st generation and later, iPad Air 3rd generation and later, iPad 7th generation and later, and iPad mini 5th generation and later
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a permissions issue in WebKit that allowed a malicious iframe to bypass restrictions and execute scripts in another origin.
What the attacker needed
Victim loads a malicious iframe
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
WebKit is the engine that renders web pages in Safari and other apps on Apple devices. A permissions issue meant that a specially crafted iframe (a web page embedded inside another) could run harmful scripts, potentially letting an attacker run code in the context of other sites. Apple fixed it by adding restrictions to how permissions are handled.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.