Cross-site scripting in Apple Safari
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-79.
Summary
This issue was addressed through improved state management. This issue is fixed in Safari 18, iOS 18 and iPadOS 18, macOS Sequoia 15, tvOS 18, visionOS 2, watchOS 11. Processing maliciously crafted web content may lead to universal cross site scripting.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apple | Safari | before 18 | 18 | Patch available | CNA |
| Apple | iOS and iPadOS | before 18 | 18 | Patch available | CNA |
| Apple | macOS | before 15 | 15 | Patch available | CNA |
| Apple | tvOS | before 18 | 18 | Patch available | CNA |
| Apple | visionOS | before 2 | 2 | Patch available | CNA |
| Apple | watchOS | before 11 | 11 | Patch available | CNA |
- Safari VendorApple Affected before 18 Fixed in 18 Patch available CNA
- iOS and iPadOS VendorApple Affected before 18 Fixed in 18 Patch available CNA
- macOS VendorApple Affected before 15 Fixed in 15 Patch available CNA
- tvOS VendorApple Affected before 18 Fixed in 18 Patch available CNA
- visionOS VendorApple Affected before 2 Fixed in 2 Patch available CNA
- watchOS VendorApple Affected before 11 Fixed in 11 Patch available CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apple:safari:*:*:*:*:*:*:*:* | before 18.0 | Vulnerable | Apple |
| cpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:* | before 18.0 | Vulnerable | Apple |
| cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* | before 18.0 | Vulnerable | Apple |
| cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* | before 15.0 | Vulnerable | Apple |
| cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:* | before 18.0 | Vulnerable | Apple |
| cpe:2.3:o:apple:visionos:*:*:*:*:*:*:*:* | before 2.0 | Vulnerable | Apple |
| cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:* | before 11.0 | Vulnerable | Apple |
- cpe:2.3:a:apple:safari:*:*:*:*:*:*:*:* Versions before 18.0 Vulnerable ·Apple
- cpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:* Versions before 18.0 Vulnerable ·Apple
- cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* Versions before 18.0 Vulnerable ·Apple
- cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* Versions before 15.0 Vulnerable ·Apple
- cpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:* Versions before 18.0 Vulnerable ·Apple
- cpe:2.3:o:apple:visionos:*:*:*:*:*:*:*:* Versions before 2.0 Vulnerable ·Apple
- cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:* Versions before 11.0 Vulnerable ·Apple
Remediation
- Fix · CNA Safari (Apple) Fixed in 18
- Fix · CNA iOS and iPadOS (Apple) Fixed in 18
- Fix · CNA macOS (Apple) Fixed in 15
- Fix · CNA tvOS (Apple) Fixed in 18
- Fix · CNA visionOS (Apple) Fixed in 2
- Fix · CNA watchOS (Apple) Fixed in 11
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apple macOS 15
36 records Highest priority Priority MEDIUM 3 MEDIUM, 33 LOW
Other records, highest priority first
- TI-2024-29716 Apple macOS: An app may be able to break out of its sandboxPriority MEDIUM 44
- TI-2024-29714 Apple macOS: An app may be able to break out of its sandboxPriority MEDIUM 44
- TI-2024-29703 Link following in Apple macOSPriority MEDIUM 40
- Release ·
Apple iOS and iPadOS 18
19 records Highest priority Priority MEDIUM 1 MEDIUM, 18 LOW
Other records, highest priority first
- TI-2024-18481 Uncontrolled resource consumption in Apple iOS and iPadOSPriority MEDIUM 40
- TI-2024-27231 Missing authorization in Apple iOS and iPadOSPriority LOW 39
- TI-2024-18477 Path traversal in Apple iOS and iPadOSPriority LOW 39
Show 4 more groups
- Release ·
Apple visionOS 2
14 records Highest priority Priority LOW 14 LOW
Other records, highest priority first
- TI-2024-29736 Uncontrolled resource consumption in Apple iOS and iPadOSPriority LOW 38
- TI-2024-29734 Path traversal in Apple iOS and iPadOSPriority LOW 38
- TI-2024-18483 Race condition in Apple iOS and iPadOSPriority LOW 38
- Release ·
Apple watchOS 11
11 records Highest priority Priority LOW 11 LOW
Other records, highest priority first
- TI-2024-29736 Uncontrolled resource consumption in Apple iOS and iPadOSPriority LOW 38
- TI-2024-29742 Uncontrolled resource consumption in Apple iOS and iPadOSPriority LOW 36
- TI-2024-29753 Origin validation error in Apple SafariPriority LOW 30
- Release ·
Apple tvOS 18
10 records Highest priority Priority LOW 10 LOW
Other records, highest priority first
- TI-2024-29736 Uncontrolled resource consumption in Apple iOS and iPadOSPriority LOW 38
- TI-2024-29742 Uncontrolled resource consumption in Apple iOS and iPadOSPriority LOW 36
- TI-2024-27235 Apple iOS and iPadOS: An attacker may be able to force a device to disconnect from a…Priority LOW 35
- Release ·
Apple Safari 18
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2024-29768 Improper authentication in Apple SafariPriority LOW 31
- TI-2024-27245 Apple Safari: Visiting a malicious website may lead to address bar spoofingPriority LOW 31
- TI-2024-29753 Origin validation error in Apple SafariPriority LOW 30
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
Not affected: 2 products
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2024-40857
- 2026-10-03 Alias added: GHSA-8476-jpv4-xp4p
References
More Apple Ipados vulnerabilities
- TI-2025-28008 Out-of-bounds write in Apple iOS and iPadOS KEVCVSS 3.1CRITICAL 10.0
- TI-2025-22441 Apple iOS and iPadOS: An attacker with arbitrary read and write capability may be able to… KEVCVSS 3.1CRITICAL 9.8
- TI-2025-22440 Memory corruption in Apple iOS and iPadOS KEVCVSS 3.1CRITICAL 9.8
- TI-2025-17951 Out-of-bounds write in Apple Safari KEVCVSS 3.1CRITICAL 10.0
- TI-2025-17847 Use after free in Apple iOS and iPadOS KEVCVSS 3.1CRITICAL 10.0
- TI-2022-06854 Out-of-bounds write in Apple iOS and iPadOS KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-40857 · CVE Program
- CVE-2024-40857 · NVD
- FIRST EPSS
- GHSA-8476-jpv4-xp4p · GitHub Advisory Database · CC BY 4.0
- CVE-2024-40857 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences