USN-9338-1

Source
https://ubuntu.com/security/notices/USN-9338-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9338-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-9338-1
Upstream
Related
Published
2026-12-01T17:21:42Z
Modified
2026-12-02T02:28:52Z
Summary
ruby-haml vulnerability
Details

It was discovered that Haml did not properly escape the single quote character. If Haml were made to process specially crafted input, an attacker could possibly use this issue to inject arbitrary HTML attributes and perform cross-site scripting attacks.

References

Affected packages

Ubuntu:Pro:16.04:LTS / ruby-haml

Package

Name
ruby-haml
Purl
pkg:deb/ubuntu/ruby-haml?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.0.7-1ubuntu0.16.04.1~esm1

Affected versions

4.*
4.0.6-1
4.0.7-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "ruby-haml",
            "binary_version":  "4.0.7-1ubuntu0.16.04.1~esm1"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2017-1002201",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                    "source":  "NVD",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:16.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9338-1.json"

Ubuntu:Pro:18.04:LTS / ruby-haml

Package

Name
ruby-haml
Purl
pkg:deb/ubuntu/ruby-haml?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.0.7-1ubuntu0.18.04.1~esm1

Affected versions

4.*
4.0.7-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "ruby-haml",
            "binary_version":  "4.0.7-1ubuntu0.18.04.1~esm1"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2017-1002201",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                    "source":  "NVD",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:18.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9338-1.json"