Skip to content
RCE Advisory Advanced CVE-2025-24150

WebKit Web Inspector: Copying a URL from Web Inspector may lead to command injection (CVE-2025-24150)

A privacy issue in WebKit's Web Inspector allowed command injection when copying a URL. An attacker could potentially execute commands by tricking a user into copying a crafted URL from Web Inspector.

Johan Carlsson Follow

Originally disclosed on Apple

Impact: Copying a URL from Web Inspector may lead to command injection

Description: A privacy issue was addressed with improved handling of files.

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 Johan Carlsson (joaxcar). 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 improper handling of files when copying a URL from Web Inspector, leading to command injection.

What the attacker needed

User copies a URL from Web Inspector

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.

Web Inspector is a tool in Safari for developers to inspect web pages. This bug meant that if someone copied a specially crafted web address from that tool, it could run harmful commands on their device. The flaw was fixed by improving how files are handled.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Johan Carlsson

View all

2 more disclosed reports, 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.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.