Apple macOS: A remote attacker may be able to cause arbitrary javascript code execution
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 14 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
The issue was addressed with improved checks. This issue is fixed in macOS Ventura 13.5. A remote attacker may be able to cause arbitrary javascript code execution.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apple | macOS | before 13.5 | 13.5 | Patch available | CNA |
- macOS VendorApple Affected before 13.5 Fixed in 13.5 Patch available CNA
Remediation
- Fix · CNA macOS (Apple) Fixed in 13.5
Red Hat 9 advisories
- RHSA-2025:10364 Released 2025-07-07 · Red Hat rating Importantwebkitgtk4 security update
- Red Hat Enterprise Linux Server (v. 7 ELS) webkitgtk4-2.48.3-2.el7_9, webkitgtk4-devel-2.48.3-2.el7_9, webkitgtk4-jsc-2.48.3-2.el7_9 +1
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) webkitgtk4-devel-2.48.3-2.el7_9, webkitgtk4-doc-2.48.3-2.el7_9, webkitgtk4-jsc-devel-2.48.3-2.el7_9
- RHSA-2024:9679 Released 2024-11-14 · Red Hat rating Importantwebkit2gtk3 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) webkit2gtk3-2.46.3-1.el8_4, webkit2gtk3-devel-2.46.3-1.el8_4, webkit2gtk3-jsc-2.46.3-1.el8_4 +1
- Red Hat Enterprise Linux AppStream E4S (v.8.4) webkit2gtk3-2.46.3-1.el8_4, webkit2gtk3-devel-2.46.3-1.el8_4, webkit2gtk3-jsc-2.46.3-1.el8_4 +1
- Red Hat Enterprise Linux AppStream TUS (v.8.4) webkit2gtk3-2.46.3-1.el8_4, webkit2gtk3-devel-2.46.3-1.el8_4, webkit2gtk3-jsc-2.46.3-1.el8_4 +1
- RHSA-2024:9680 Released 2024-11-14 · Red Hat rating Importantwebkit2gtk3 security update
- Red Hat Enterprise Linux AppStream AUS (v. 8.2) webkit2gtk3-2.46.3-1.el8_2, webkit2gtk3-devel-2.46.3-1.el8_2, webkit2gtk3-jsc-2.46.3-1.el8_2 +1
Show 6 more Red Hat advisories
- RHSA-2024:9653 Released 2024-11-14 · Red Hat rating Importantwebkit2gtk3 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) webkit2gtk3-2.46.3-1.el8_6, webkit2gtk3-devel-2.46.3-1.el8_6, webkit2gtk3-jsc-2.46.3-1.el8_6 +1
- Red Hat Enterprise Linux AppStream E4S (v.8.6) webkit2gtk3-2.46.3-1.el8_6, webkit2gtk3-devel-2.46.3-1.el8_6, webkit2gtk3-jsc-2.46.3-1.el8_6 +1
- Red Hat Enterprise Linux AppStream TUS (v.8.6) webkit2gtk3-2.46.3-1.el8_6, webkit2gtk3-devel-2.46.3-1.el8_6, webkit2gtk3-jsc-2.46.3-1.el8_6 +1
- RHSA-2024:9646 Released 2024-11-14 · Red Hat rating Importantwebkit2gtk3 security update
- Red Hat Enterprise Linux AppStream EUS (v.8.8) webkit2gtk3-2.46.3-1.el8_8, webkit2gtk3-devel-2.46.3-1.el8_8, webkit2gtk3-jsc-2.46.3-1.el8_8 +1
- RHSA-2024:8496 Released 2024-10-28 · Red Hat rating Importantwebkit2gtk3 security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) webkit2gtk3-2.46.1-1.el9_0, webkit2gtk3-devel-2.46.1-1.el9_0, webkit2gtk3-jsc-2.46.1-1.el9_0 +1
- RHSA-2024:8492 Released 2024-10-28 · Red Hat rating Importantwebkit2gtk3 security update
- Red Hat Enterprise Linux AppStream EUS (v.9.2) webkit2gtk3-2.46.1-1.el9_2, webkit2gtk3-devel-2.46.1-1.el9_2, webkit2gtk3-jsc-2.46.1-1.el9_2 +1
- RHSA-2023:7055 Released 2023-11-14 · Red Hat rating Importantwebkit2gtk3 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) webkit2gtk3-2.40.5-1.el8, webkit2gtk3-devel-2.40.5-1.el8, webkit2gtk3-jsc-2.40.5-1.el8 +1
- RHSA-2023:6535 Released 2023-11-07 · Red Hat rating Importantwebkit2gtk3 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) webkit2gtk3-2.40.5-1.el9, webkit2gtk3-devel-2.40.5-1.el9, webkit2gtk3-jsc-2.40.5-1.el9 +1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apple macOS 13.5
4 records Highest priority Priority MEDIUM 1 MEDIUM, 3 LOW
Other records, highest priority first
- TI-2023-19987 Race condition in Apple macOSPriority LOW 32
- TI-2023-21211 Sensitive information in log files in Apple macOSPriority LOW 15
- TI-2023-19977 Apple macOS: An app may be able to determine a user’s current locationPriority LOW 15
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:7055 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:6535 |
| Red Hat Enterprise Linux AppStream AUS (v. 8.2) | Fixed | RHSA-2024:9680 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2024:9679 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2024:9653 |
| Red Hat Enterprise Linux AppStream E4S (v.8.4) | Fixed | RHSA-2024:9679 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2024:9653 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2024:8496 |
| Red Hat Enterprise Linux AppStream EUS (v.8.8) | Fixed | RHSA-2024:9646 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:8492 |
| Red Hat Enterprise Linux AppStream TUS (v.8.4) | Fixed | RHSA-2024:9679 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2024:9653 |
| Red Hat Enterprise Linux Server (v. 7 ELS) | Fixed | RHSA-2025:10364 |
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2025:10364 |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-40397
- 2026-10-03 Alias added: GHSA-6x6m-3789-2cmw
References
More Apple Macos vulnerabilities
- TI-2026-46583 Improper authentication in Apple macOS KEVCVSS 3.1CRITICAL 9.8
- 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
Sources
- CVE-2023-40397 · CVE Program
- CVE-2023-40397 · NVD
- FIRST EPSS
- GHSA-6x6m-3789-2cmw · GitHub Advisory Database · CC BY 4.0
- CVE-2023-40397 · 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