UBUNTU-CVE-2026-65899

Source
https://ubuntu.com/security/CVE-2026-65899
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65899.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-65899
Upstream
Published
2026-07-23T14:18:00Z
Modified
2026-07-29T10:18:31Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

DOMPurify 3.0.0 before 3.4.9 does not reset the retained Trusted Types policy when clearConfig() is called, so a DOMPurify instance reused across trust boundaries stays bound to a previously supplied TRUSTED_TYPES_POLICY. A later caller that requests RETURN_TRUSTED_TYPE output receives a TrustedHTML object created by the old (potentially unsafe) policy rather than a clean default, which can lead to script execution at a Trusted Types sink. Passing TRUSTED_TYPES_POLICY: null on the later call also does not clear the retained policy.

References

Affected packages

Ubuntu:22.04:LTS / node-dompurify

Package

Name
node-dompurify
Purl
pkg:deb/ubuntu/node-dompurify?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.3.0+dfsg-2
2.3.3+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-dompurify",
            "binary_version": "2.3.3+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65899.json"

Ubuntu:24.04:LTS / node-dompurify

Package

Name
node-dompurify
Purl
pkg:deb/ubuntu/node-dompurify?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.4.1+dfsg+~2.4.0-1
3.*
3.0.9+dfsg+~3.0.5-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-dompurify",
            "binary_version": "3.0.9+dfsg+~3.0.5-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65899.json"

Ubuntu:26.04:LTS / node-dompurify

Package

Name
node-dompurify
Purl
pkg:deb/ubuntu/node-dompurify?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.7+dfsg+~3.0.5-2
3.3.3+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-dompurify",
            "binary_version": "3.3.3+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65899.json"