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.
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Link | Tags |
---|---|
https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2 | third party advisory patch |
https://snyk.io/vuln/SNYK-RUBY-HAML-20362 | patch third party advisory exploit |
https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html | third party advisory mailing list |
https://security.gentoo.org/glsa/202007-27 | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html | third party advisory mailing list |