USN-6748-1

Source
https://ubuntu.com/security/notices/USN-6748-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6748-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-6748-1
Upstream
Related
Published
2024-04-24T05:23:38.713509Z
Modified
2025-10-13T04:36:56Z
Summary
ruby-sanitize vulnerabilities
Details

It was discovered that Sanitize incorrectly handled noscript elements under certain circumstances. An attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-23627)

It was discovered that Sanitize incorrectly handled style elements under certain circumstances. An attacker could possibly use this issue to execute a cross-site scripting (XSS) attack. (CVE-2023-36823)

References

Affected packages

Ubuntu:20.04:LTS / ruby-sanitize

Package

Name
ruby-sanitize
Purl
pkg:deb/ubuntu/ruby-sanitize@4.6.6-2.1~0.20.04.2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.6-2.1~0.20.04.2

Affected versions

4.*

4.6.6-2
4.6.6-2.1~0.20.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-sanitize",
            "binary_version": "4.6.6-2.1~0.20.04.2"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:20.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2023-23627"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2023-36823"
        }
    ]
}

Ubuntu:22.04:LTS / ruby-sanitize

Package

Name
ruby-sanitize
Purl
pkg:deb/ubuntu/ruby-sanitize@6.0.0-1ubuntu0.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.0-1ubuntu0.1

Affected versions

5.*

5.2.1-2
5.2.3-1

6.*

6.0.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ruby-sanitize",
            "binary_version": "6.0.0-1ubuntu0.1"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:22.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2023-23627"
        },
        {
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ],
            "id": "CVE-2023-36823"
        }
    ]
}