Description
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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| http://haml.info/ | haml | All versions prior to version 5.0.0.beta.2 |
References
- https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/11/msg00007.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/12/msg00028.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202007-27Third Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-HAML-20362Exploit, Patch, Third Party Advisory
- https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/11/msg00007.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/12/msg00028.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202007-27Third Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-HAML-20362Exploit, Patch, Third Party Advisory
Timeline
- Published
- Oct 15, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified