UBUNTU-CVE-2026-49978

Source
https://ubuntu.com/security/CVE-2026-49978
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49978.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-49978
Upstream
Published
2026-07-14T21:17:00Z
Modified
2026-07-24T15:44:03.668932631Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N CVSS Calculator
  • 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.7, DOMPurify IN_PLACE sanitization could skip shadow contents attached to an element inside <template>.content, allowing attacker-controlled markup such as event handlers, JavaScript URLs, or scripts to survive and execute when an application cloned and inserted the sanitized template. This issue is fixed in version 3.4.7.

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_name": "libjs-dompurify",
            "binary_version": "0.7.3~dfsg1-2"
        },
        {
            "binary_name": "node-dompurify",
            "binary_version": "0.7.3~dfsg1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49978.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_name": "libjs-dompurify",
            "binary_version": "0.9.0~dfsg1-2"
        },
        {
            "binary_name": "node-dompurify",
            "binary_version": "0.9.0~dfsg1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49978.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_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-49978.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_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-49978.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_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-49978.json"