{"id":"CVE-2017-1002201","aliases":["GHSA-r53w-g4xm-3gc6","SNYK-RUBY-HAML-20362"],"url":"https://o3.security/vulnerability/CVE-2017-1002201","summary":"Haml vulnerable to cross-site scripting","details":"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.","published":"2019-10-15T18:15:10.560Z","modified":"2026-07-08T05:59:29.768192811Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"haml","fixedVersion":"5.0.0"}],"fix":{"url":"https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2","label":"haml/haml@18576ae"},"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202007-27"},{"type":"FIX","url":"https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2"},{"type":"FIX","url":"https://snyk.io/vuln/SNYK-RUBY-HAML-20362"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:59:29.768192811Z"}}