CVE-2017-1002201
publishedhaml vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| http://haml.info/ | — | hamlAll versions prior to version 5.0.0.beta.2 | Affected | Not stated | dwf |
| Debian | jessie | ruby-haml | Advisory build | 4.0.5-2+deb8u1 | DLA-1986-1 |
| Debian | stretch | ruby-haml | Advisory build | 4.0.7-1+deb9u1 | DLA-2864-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| http://haml.info/ | haml | All versions prior to version 5.0.0.beta.2 (affected) | dwf · cna |
Weaknesses
1- Cross-site Scripting (XSS)
References
5- https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2
- [debian-lts-announce] 20191110 [SECURITY] [DLA 1986-1] ruby-haml security update https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html
- [debian-lts-announce] 20211229 [SECURITY] [DLA 2864-1] ruby-haml security update https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html
- GLSA-202007-27 https://security.gentoo.org/glsa/202007-27
- https://snyk.io/vuln/SNYK-RUBY-HAML-20362
Provider assertions
2dwf · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b1dc074f52255b71400f31515c133247caf1c84677a98f62dde0aa0ea8e8ec24
- Ingested
- 23 Sep 2026, 07:41:47 UTC
- Source record
- Official CVE record