UBUNTU-CVE-2026-65900

Source
https://ubuntu.com/security/CVE-2026-65900
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-65900.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-65900
Upstream
Published
2026-07-23T14:18:00Z
Modified
2026-07-29T10:19:18.161511637Z
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 versions >=3.0.0 and before 3.4.8, when configured with SAFEFORTEMPLATES together with a DOM output mode (RETURNDOM, RETURNDOMFRAGMENT, or INPLACE), fail to strip template expressions (e.g. ${evil}, {{evil}}, <%evil%>) inside <template> element content. The final normalization/scrub pass (scrubTemplateExpressions) uses a NodeIterator and node.normalize() that do not descend into template.content, so expressions that only form after adjacent text nodes merge survive sanitization. This bypasses SAFEFOR_TEMPLATES and can allow a downstream template engine to evaluate attacker-supplied expressions. The string output path is not affected.

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
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-65900.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-65900.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-65900.json"