Skip to content
Fencer Vulns
critical 9.8

CVE-2023-40397 json

The issue was addressed with improved checks.

published 2023-09-06 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-44968

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

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.

Patch / fix

  • Apple macOS 13.5
  • wpewebkit Debian 14, Debian 13 2.40.5-1
  • webkit2gtk Debian 12 2.40.5-1~deb12u1
  • webkit2gtk Debian 14, Debian 13 2.40.5-1

debian advisories DEBIAN-CVE-2023-40397

  • webkit2gtk Ubuntu 22.04 LTS 2.40.5-0ubuntu0.22.04.1

ubuntu advisories UBUNTU-CVE-2023-40397

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • webkit2gtk3 RHEL 8 2.40.5-1.el8
  • webkit2gtk3-jsc RHEL 8 2.40.5-1.el8
  • webkit2gtk3 RHEL 9 2.40.5-1.el9
  • webkit2gtk3-jsc RHEL 9 2.40.5-1.el9
  • webkitgtk4 RHEL 7 ELS 2.48.3-2.el7_9
  • webkitgtk4-jsc RHEL 7 ELS 2.48.3-2.el7_9
  • webkit2gtk3 RHEL 8.4 TUS, RHEL 8.4 E4S, RHEL 8.4 AUS 2.46.3-1.el8_4
  • webkit2gtk3-jsc RHEL 8.4 TUS, RHEL 8.4 E4S, RHEL 8.4 AUS 2.46.3-1.el8_4

red hat advisories RHSA-2025:10364RHSA-2024:9679RHSA-2024:9646RHSA-2024:9680RHSA-2024:9653RHSA-2024:8496

  • webkit2gtk3 SLE Module for Desktop Applications 15 SP5, SLE Module for Desktop Applications 15 SP4, openSUSE Leap 15.5 +1 more 2.40.5-150400.4.51.1
  • webkit2gtk4 SLE Module for Development Tools 15 SP5, SLE Module for Development Tools 15 SP4, openSUSE Leap 15.5 +1 more 2.40.5-150400.4.51.1
  • webkit2gtk3-soup2 SLE Module for Basesystem 15 SP5, SLE Module for Basesystem 15 SP4, openSUSE Leap 15.5 +1 more 2.40.5-150400.4.51.1

suse advisories SUSE-SU-2023:3753-1

  • webkit2gtk3 AlmaLinux 8 2.40.5-1.el8
  • webkit2gtk3-jsc AlmaLinux 8 2.40.5-1.el8
  • webkit2gtk3 AlmaLinux 9 2.40.5-1.el9
  • webkit2gtk3-jsc AlmaLinux 9 2.40.5-1.el9

almalinux advisories ALSA-2023:7055ALSA-2023:6535

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-40397 updated cvss 9.8

webkitgtk: arbitrary javascript code execution

  • Red Hat Enterprise Linux 6 webkitgtk Red Hat Enterprise Linux 7 webkitgtk3, libwebkit2gtk
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) webkit2gtk3 2.40.5-1.el8, webkit2gtk3-jsc 2.40.5-1.el8
    fixed: vendor fix RHSA-2023:7055
  • Red Hat Enterprise Linux AppStream (v. 9) webkit2gtk3 2.40.5-1.el9, webkit2gtk3-jsc 2.40.5-1.el9
    fixed: vendor fix RHSA-2023:6535
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) webkit2gtk3 2.46.3-1.el8_2, webkit2gtk3-jsc 2.46.3-1.el8_2
    fixed: vendor fix RHSA-2024:9680
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) webkit2gtk3 2.46.3-1.el8_4, webkit2gtk3-jsc 2.46.3-1.el8_4
    fixed: vendor fix RHSA-2024:9679
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) webkit2gtk3 2.46.3-1.el8_6, webkit2gtk3-jsc 2.46.3-1.el8_6
    fixed: vendor fix RHSA-2024:9653
  • Red Hat Enterprise Linux AppStream E4S (v.8.4) webkit2gtk3 2.46.3-1.el8_4, webkit2gtk3-jsc 2.46.3-1.el8_4
    fixed: vendor fix RHSA-2024:9679
  • Red Hat Enterprise Linux AppStream E4S (v.8.6) webkit2gtk3 2.46.3-1.el8_6, webkit2gtk3-jsc 2.46.3-1.el8_6
    fixed: vendor fix RHSA-2024:9653
show 6 more
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) webkit2gtk3 2.46.1-1.el9_0, webkit2gtk3-jsc 2.46.1-1.el9_0
    fixed: vendor fix RHSA-2024:8496
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) webkit2gtk3 2.46.3-1.el8_8, webkit2gtk3-jsc 2.46.3-1.el8_8
    fixed: vendor fix RHSA-2024:9646
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) webkit2gtk3 2.46.1-1.el9_2, webkit2gtk3-jsc 2.46.1-1.el9_2
    fixed: vendor fix RHSA-2024:8492
  • Red Hat Enterprise Linux AppStream TUS (v.8.4) webkit2gtk3 2.46.3-1.el8_4, webkit2gtk3-jsc 2.46.3-1.el8_4
    fixed: vendor fix RHSA-2024:9679
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) webkit2gtk3 2.46.3-1.el8_6, webkit2gtk3-jsc 2.46.3-1.el8_6
    fixed: vendor fix RHSA-2024:9653
  • Red Hat Enterprise Linux Server (v. 7 ELS) webkitgtk4 2.48.3-2.el7_9, webkitgtk4-jsc 2.48.3-2.el7_9 Red Hat Enterprise Linux Server Optional (v. 7 ELS) webkitgtk4-doc 2.48.3-2.el7_9, webkitgtk4-devel 2.48.3-2.el7_9, webkitgtk4-debuginfo 2.48.3-2.el7_9, webkitgtk4-jsc-devel 2.48.3-2.el7_9
    fixed: vendor fix RHSA-2025:10364

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.67% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Apple macOS

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.