{"id":"CVE-2017-1002201","published":"2019-10-15T17:35:57Z","modified":"2024-08-05T22:08:11Z","title":"In haml versions prior to version 5.0.0.beta.2, when using user input to perform tasks on the server, characters like…","vendor":"http://haml.info/","product":"haml","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01452,"percentile":0.74044,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-RUBY-HAML-20362","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/202007-27","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":14.81}]},"vendorSlug":"http-haml-info","affectedVersions":[{"vendor":"http://haml.info/","product":"haml","versions":["All versions prior to version 5.0.0.beta.2"]}],"affected":[{"ecosystem":"RubyGems","package":"haml","vulnerableRanges":["<5.0.0"],"patched":["5.0.0"],"from":["GHSA-r53w-g4xm-3gc6"],"provenance":"source"}],"summary":{"text":"The flaw lies in the haml templating library (vendor haml.info), in versions prior to 5.0.0.beta.2, where the single-quote character is not escaped when user input is used to build server-side output.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:39Z"},"euvd":{"id":"EUVD-2019-0713","exploited":false,"provenance":"source"}}