CVE-2023-40451 Code injection in Safari

High 8.8 Published Updated

An attacker with JavaScript execution can execute arbitrary code due to insufficient iframe sandbox enforcement in Safari.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-40451?

CVE-2023-40451 is a high-severity code injection vulnerability in Apple Safari, published on 26 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

This issue was addressed with improved iframe sandbox enforcement. This issue is fixed in Safari 17. An attacker with JavaScript execution may be able to execute arbitrary code.

Which versions are affected by CVE-2023-40451?

It affects 1 product.

Products include Apple Safari.

How do I fix CVE-2023-40451?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-40451 being exploited?

There is no known exploitation of CVE-2023-40451 in the wild and no public exploit code.

All Apple Safari vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-40451, GHSA-p489-ffhp-rw3f, UBUNTU-CVE-2023-40451.

Is CVE-2023-40451 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free