{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-1002201","published":"2019-10-15T18:15:10.560000Z","last_modified":"2026-06-17T00:59:23.007000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:haml:haml:*:*:*:*:*:ruby:*:*","part":"a","vendor":"haml","product":"haml","version_end_excluding":"5.0.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"8.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"}],"cpes_truncated":false,"vendors":["haml","debian"],"products":["haml/haml","debian/debian_linux"],"epss":{"score":0.01452,"percentile":0.73711,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r53w-g4xm-3gc6","ecosystem":"RubyGems","name":"haml","purl":"pkg:gem/haml","ranges":[{"introduced":"0","fixed":"5.0.0"}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.5.0","1.5.1","1.5.2","1.7.0","1.7.1","1.7.2","1.8.0","1.8.1","1.8.2","2.0.0","2.0.1","2.0.10","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.2.0","2.2.1","2.2.10","2.2.11","2.2.12","2.2.13","2.2.14","2.2.15","2.2.16","2.2.17","2.2.18","2.2.19","2.2.2","2.2.20","2.2.21","2.2.22","2.2.23","2.2.24","2.2.3","2.2.4","2.2.5","2.2.6","2.2.8","2.2.9","3.0.0","3.0.0.beta.1","3.0.0.beta.2","3.0.0.beta.3","3.0.0.rc.1","3.0.0.rc.2","3.0.0.rc.3","3.0.0.rc.4","3.0.0.rc.5","3.0.1","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.16","3.0.17","3.0.18","3.0.2","3.0.21","3.0.22","3.0.23","3.0.24","3.0.25","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.9","3.1.0","3.1.0.alpha.10","3.1.0.alpha.12","3.1.0.alpha.14","3.1.0.alpha.141","3.1.0.alpha.144","3.1.0.alpha.145","3.1.0.alpha.147","3.1.0.alpha.17","3.1.0.alpha.18","3.1.0.alpha.19","3.1.0.alpha.2","3.1.0.alpha.22","3.1.0.alpha.23","3.1.0.alpha.26","3.1.0.alpha.27","3.1.0.alpha.28","3.1.0.alpha.30","3.1.0.alpha.33","3.1.0.alpha.36","3.1.0.alpha.37","3.1.0.alpha.5","3.1.0.alpha.9","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.5.beta.1","3.1.5.rc.1","3.1.6","3.1.6.rc.1","3.1.7","3.1.8","3.2.0.alpha.10","3.2.0.alpha.13","3.2.0.alpha.14","3.2.0.alpha.2","3.2.0.alpha.3","3.2.0.alpha.4","3.2.0.alpha.5","3.2.0.alpha.8","3.2.0.beta.1","3.2.0.beta.2","3.2.0.beta.3","3.2.0.rc.1","3.2.0.rc.2","3.2.0.rc.3","3.2.0.rc.4","4.0.0","4.0.0.rc.1","4.0.1","4.0.1.rc.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.1.0.alpha.2","4.1.0.beta.1","5.0.0.beta.2"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2017-1002201/","html_en":"/en/cve/CVE-2017-1002201/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-1002201","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-1002201"},"untrusted":{"vendor_name":"Haml","product_name":"Haml","desc_en":"In haml versions prior to version 5.0.0.beta.2, when using user input to perform tasks on the server, characters like < > \" ' must be escaped properly. In this case, the ' character was missed. An attacker can manipulate the input to introduce additional attributes, potentially executing code.","affected":[{"untrusted_vendor":"http://haml.info/","untrusted_product":"haml"}],"references":[{"url":"https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202007-27","tags":["Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-RUBY-HAML-20362","tags":["Exploit","Patch","Third Party Advisory"]}]}}