UBUNTU-CVE-2026-73491

Source
https://ubuntu.com/security/CVE-2026-73491
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73491.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-73491
Upstream
Published
2026-08-13T00:00:00Z
Modified
2026-08-13T19:30:56.463848096Z
Severity
  • 2.3 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. From 2.25.0 until 2.25.2, Loofah::HTML5::Scrub.alloweduri? does not reject javascript: URIs whose scheme is split or prefixed with the HTML5 named whitespace character references or . CGI.unescapeHTML leaves those references intact, so alloweduri? reports the URL safe even though a browser decodes and strips the tab or line feed and executes the resulting javascript: URL. This issue affects only callers that pass HTML-encoded strings directly to allowed_uri?; Loofah's default sanitize() path is not affected. This issue is fixed in version 2.25.2.

References

Affected packages

Ubuntu:16.04:LTS
ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/ubuntu/ruby-loofah?arch=source&distro=xenial

Affected ranges

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

Affected versions

2.*
2.0.2-1
2.0.3-1
2.0.3-2
2.0.3-2+deb9u1build0.16.04.1
2.0.3-2+deb9u2build0.16.04.1
2.0.3-2+deb9u3build0.16.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.0.3-2+deb9u3build0.16.04.1",
            "binary_name": "ruby-loofah"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73491.json"
Ubuntu:18.04:LTS
ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/ubuntu/ruby-loofah?arch=source&distro=bionic

Affected ranges

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

Affected versions

2.*
2.0.3-2
2.2.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.2.2-1",
            "binary_name": "ruby-loofah"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73491.json"
Ubuntu:20.04:LTS
ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/ubuntu/ruby-loofah?arch=source&distro=focal

Affected ranges

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

Affected versions

2.*
2.2.3-1
2.3.1+dfsg-1
2.4.0+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.4.0+dfsg-1",
            "binary_name": "ruby-loofah"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73491.json"
Ubuntu:22.04:LTS
ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/ubuntu/ruby-loofah?arch=source&distro=jammy

Affected ranges

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

Affected versions

2.*
2.12.0-1
2.13.0-1
2.13.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.13.0-2",
            "binary_name": "ruby-loofah"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73491.json"
Ubuntu:24.04:LTS
ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/ubuntu/ruby-loofah?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*
2.21.3-1
2.21.4-1
2.22.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.22.0-1",
            "binary_name": "ruby-loofah"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73491.json"
Ubuntu:26.04:LTS
ruby-loofah

Package

Name
ruby-loofah
Purl
pkg:deb/ubuntu/ruby-loofah?arch=source&distro=resolute

Affected ranges

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

Affected versions

2.*
2.24.1-1
2.25.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.25.0-1",
            "binary_name": "ruby-loofah"
        }
    ]
}

Database specific

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