Skip to content
XSS Advisory Advanced CVE-2025-24208

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.

Muhammad Zaid Ghifari Follow

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

The original report as published on Apple's security release notes, by Muhammad Zaid Ghifari (Mr.ZheeV). Images and videos are our own copies; raw HTML is shown as text. View it on Apple's security release notes.

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.

More by Muhammad Zaid Ghifari

View all

1 more disclosed report, best first.

More from Apple

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.