{"id":"USN-9338-1","summary":"ruby-haml vulnerability","details":"It was discovered that Haml did not properly escape the single quote\ncharacter. If Haml were made to process specially crafted input, an\nattacker could possibly use this issue to inject arbitrary HTML attributes\nand perform cross-site scripting attacks.","modified":"2026-12-02T02:28:52.882118661Z","published":"2026-12-01T17:21:42Z","related":["UBUNTU-CVE-2017-1002201"],"upstream":["CVE-2017-1002201","UBUNTU-CVE-2017-1002201"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9338-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-1002201"}],"affected":[{"package":{"name":"ruby-haml","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-haml?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7-1ubuntu0.16.04.1~esm1"}]}],"versions":["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_version":"4.0.7-1ubuntu0.16.04.1~esm1","binary_name":"ruby-haml"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2017-1002201","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9338-1.json"}},{"package":{"name":"ruby-haml","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-haml?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.7-1ubuntu0.18.04.1~esm1"}]}],"versions":["4.0.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-haml","binary_version":"4.0.7-1ubuntu0.18.04.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2017-1002201","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},{"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"}}],"schema_version":"1.9.2"}