CVE-2024-40817

Apple Safari: Improper Restriction of Rendered UI Layers or Frames

6.1 medium EPSS 0.69%

Published 29 Jul 2024 Updated 2 Apr 2026 CNA: apple

Description

The issue was addressed with improved UI handling. This issue is fixed in Safari 17.6, macOS Monterey 12.7.6, macOS Sonoma 14.6, macOS Ventura 13.6.8. Visiting a website that frames malicious content may lead to UI spoofing.

Severity (CVSS)

6.1 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.69%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 54.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 30 Jul 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-1021 Improper Restriction of Rendered UI Layers or Frames

Affected products

As the CNA lists them.

ProductVersions
Safari
affected before 17.6
macOS
affected before 12.7.6
affected before 13.6.8
affected before 14.6

Is my server affected?

This CVE is in Safari of Apple, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

4 more

Source: the record CVE-2024-40817 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.