CVE-2025-24158 Cross-site scripting in Safari

Medium 6.5 Published Updated

Attackers can cause a denial-of-service condition in Apple browsers by processing malicious web content, requiring users to update their operating systems and browsers.

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-2025-24158?

CVE-2025-24158 is a medium-severity cross-site scripting vulnerability in Apple Ipados, published on 27 Jan 2025. 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

The issue was addressed with improved memory handling. This issue is fixed in Safari 18.3, iOS 18.3 and iPadOS 18.3, macOS Sequoia 15.3, tvOS 18.3, visionOS 2.3, watchOS 11.3. Processing web content may lead to a denial-of-service.

Weakness: CWE-79

Which versions are affected by CVE-2025-24158?

It affects 7 products.

Products include Apple Ipados, Apple Iphone Os, Apple Macos, Apple Safari, Apple Tvos, Apple Visionos and 1 more.

How do I fix CVE-2025-24158?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-24158 being exploited?

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

All Apple Ipados vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-24158, GHSA-48xq-vmgv-hxqw, UBUNTU-CVE-2025-24158.

Is CVE-2025-24158 in your software?

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

Check your SBOMs for free