---
title: "CVE-2023-40451\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2023-40451?format=md
keywords: index, follow
---

# CVE-2023-40451

Publication date 27 September 2023

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2023-40451?format=md#impact-score)

Toggle side navigation

## Description

This issue was addressed with improved iframe sandbox enforcement. This
issue is fixed in Safari 17. An attacker with JavaScript execution may be
able to execute arbitrary code.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2023-40451?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| wpewebkit | 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Ignored |
| 20.04 LTS focal | Ignored |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| qtwebkit-opensource-src | 24.04 LTS noble | Ignored |
| 23.10 mantic | Ignored |
| 23.04 lunar | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Ignored |
| 20.04 LTS focal | Ignored |
| 18.04 LTS bionic | Ignored end of standard support |
| 16.04 LTS xenial | Ignored end of standard support |
| 14.04 LTS trusty | Ignored end of standard support |
| qtwebkit-source | 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Ignored end of standard support |
| 16.04 LTS xenial | Ignored end of standard support |
| 14.04 LTS trusty | Ignored end of standard support |
| webkit2gtk | 24.04 LTS noble | Fixed 2.40.5-1 |
| 23.10 mantic | Fixed 2.40.5-1 |
| 23.04 lunar | Fixed 2.40.5-0ubuntu0.23.04.1 |
| 22.04 LTS jammy | Fixed 2.40.5-0ubuntu0.22.04.1 |
| 20.04 LTS focal | Ignored |
| 18.04 LTS bionic | Ignored end of standard support, was deferred |
| 16.04 LTS xenial | Ignored end of standard support, was deferred |
| 14.04 LTS trusty | Not in release |
| webkitgtk | 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Ignored end of standard support |
| 16.04 LTS xenial | Ignored end of standard support |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [jdstrand](https://launchpad.net/~jdstrand)

webkit receives limited support. For details, see
https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit
webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not V8

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

It is no longer possible to build new webkit2gtk versions on
focal and earlier. Marking as ignored.

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-40451)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-40451)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2023-40451)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2023-40451)

### Other references

* <https://webkitgtk.org/security/WSA-2023-0009.html>
* <https://www.openwall.com/lists/oss-security/2023/09/28/3>
* <https://www.cve.org/CVERecord?id=CVE-2023-40451>
