UBUNTU-CVE-2026-49458

Source
https://ubuntu.com/security/CVE-2026-49458
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49458.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-49458
Upstream
Published
2026-07-14T21:17:00Z
Modified
2026-07-15T19:47:26.795543897Z
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
  • Ubuntu - medium
Summary
[none]
Details

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(node, { IN_PLACE: true }) accepted same-origin foreign-realm DOM nodes while follow-on checks used parent-realm constructors, causing instanceof checks for forms, named node maps, document fragments, and elements to fail and skip clobber, template-content, and shadow-DOM sanitization branches so executable markup could survive. This issue is fixed in version 3.4.6.

References

Affected packages

Ubuntu:16.04:LTS / dompurify.js

Package

Name
dompurify.js
Purl
pkg:deb/ubuntu/dompurify.js?arch=source&distro=xenial

Affected ranges

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

Affected versions

0.*
0.7.3~dfsg1-1
0.7.3~dfsg1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.7.3~dfsg1-2",
            "binary_name": "libjs-dompurify"
        },
        {
            "binary_version": "0.7.3~dfsg1-2",
            "binary_name": "node-dompurify"
        }
    ]
}

Database specific

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

Ubuntu:18.04:LTS / dompurify.js

Package

Name
dompurify.js
Purl
pkg:deb/ubuntu/dompurify.js?arch=source&distro=bionic

Affected ranges

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

Affected versions

0.*
0.9.0~dfsg1-1
0.9.0~dfsg1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.9.0~dfsg1-2",
            "binary_name": "libjs-dompurify"
        },
        {
            "binary_version": "0.9.0~dfsg1-2",
            "binary_name": "node-dompurify"
        }
    ]
}

Database specific

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

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
0Unknown introduced version / All previous versions are affected

Affected versions

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

Ecosystem specific

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

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49458.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
0Unknown 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_version": "3.0.9+dfsg+~3.0.5-1",
            "binary_name": "node-dompurify"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49458.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
0Unknown 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_version": "3.3.3+dfsg-1",
            "binary_name": "node-dompurify"
        }
    ]
}

Database specific

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