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
Published Oct 15, 2019
6.1
MEDIUMCVSS 3.1
EPSS 1.45%
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.
Affected products
- Vendor n/a Product Haml Defaultn/a
- Version All versions prior to version 5.0.0.beta.2StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Haml | n/a |
|
Configuration 2
- 8.0
- 9.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.45% (0.01452) | 72.45th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.45% (0.01452) | 72.23th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.24% (0.00237) | 62.17th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.24% (0.00237) | 60.77th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.34% (0.00336) | 66.67th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.25% (0.01247) | 30.57th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.04% (0.01040) | 0.00th | v1 |
References (8)
- https://github.com/advisories/GHSA-r53w-g4xm-3gc6 Advisory
- https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2 x_refsource_MISCPatchThird Party Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/haml/CVE-2017-1002201.yml
- https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-1002201
- https://security.gentoo.org/glsa/202007-27 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-HAML-20362 x_refsource_CONFIRMExploitPatchThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-r53w-g4xm-3gc6 | Advisory | |
| https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/haml/CVE-2017-1002201.yml | ||
| https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-1002201 | ||
| https://security.gentoo.org/glsa/202007-27 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://snyk.io/vuln/SNYK-RUBY-HAML-20362 | x_refsource_CONFIRMExploitPatchThird Party Advisory |
Change history (0)
No recorded changes yet.