Back
CVE-2017-1002201
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…
Medium6.1EPSS 1.5%
- Published
- Updated
- Reserved
- Assigned by
- dwf
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.5% · top 27% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
- Cross-site Scripting (XSS)
- CWE-79 (opens in a new tab)All about CWE-79 and its CVEs
Affected products
- affected All versions prior to version 5.0.0.beta.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemshamlGHSA-r53w-g4xm-3gc6 (opens in a new tab)
References (5)
- https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2 (opens in a new tab)x_refsource_MISCx_transferred
- https://snyk.io/vuln/SNYK-RUBY-HAML-20362 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20191110 [SECURITY] [DLA 1986-1] ruby-haml security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- GLSA-202007-27 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [debian-lts-announce] 20211229 [SECURITY] [DLA 2864-1] ruby-haml security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-r53w-g4xm-3gc6 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-1002201)Record last updated .