Read the docs
TI-2023-21216 Aliases CVE-2023-40397GHSA-6x6m-3789-2cmw

Apple macOS: A remote attacker may be able to cause arbitrary javascript code execution

Priority MEDIUM 45Published · Updated

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

EPSS 0.01674 76th percentileScored 2026-11-07
Fix Partial macOS (Apple): 13.5Red Hat: 9 advisoriesRed Hat: 14 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApplemacOSbefore 13.513.5Patch availableCNA
  • macOS VendorApple Affected before 13.5 Fixed in 13.5 Patch available CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*before 13.5VulnerableApple
cpe:2.3:a:webkitgtk:webkitgtk:*:*:*:*:*:*:*:*before 2.40.5VulnerableWebKitGTK
cpe:2.3:a:wpewebkit:wpe_webkit:*:*:*:*:*:*:*:*before 2.40.5VulnerableWpewebkit
  • cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* Versions before 13.5 Vulnerable ·Apple
  • cpe:2.3:a:webkitgtk:webkitgtk:*:*:*:*:*:*:*:* Versions before 2.40.5 Vulnerable ·WebKitGTK
  • cpe:2.3:a:wpewebkit:wpe_webkit:*:*:*:*:*:*:*:* Versions before 2.40.5 Vulnerable ·Wpewebkit

Remediation

  • Fix · CNA macOS (Apple) Fixed in 13.5

Red Hat 9 advisories

  • RHSA-2025:10364 Released 2025-07-07 · Red Hat rating Important
    webkitgtk4 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 Important
    webkit2gtk3 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 Important
    webkit2gtk3 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 Important
    webkit2gtk3 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 Important
    webkit2gtk3 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 Important
    webkit2gtk3 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 Important
    webkit2gtk3 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 Important
    webkit2gtk3 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 Important
    webkit2gtk3 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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo 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

  1. 2026-10-02 Threatist record created from CVE-2023-40397
  2. 2026-10-03 Alias added: GHSA-6x6m-3789-2cmw

References

  • 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
See all 3490 →

Sources