Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Haml versions before 5.0.0 are vulnerable to cross-site scripting. The single quote character was not escaped in some user input, so an attacker who can supply input that is rendered can add attributes and potentially run script in a victim's browser. Upgrade the haml package to version 5.0.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.1 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.015, the 73rd percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:16 UTC First seen by agentprime
- 31 Oct 2026, 15:16 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r53w-g4xm-3gc6
- OSV: GHSA-r53w-g4xm-3gc6
- nvd.nist.gov/vuln/detail/CVE-2017-1002201
- github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2
- github.com/haml/haml
- github.com/rubysec/ruby-advisory-db/blob/master/gems/haml/CVE-2017-1002201.yml
- lists.debian.org/debian-lts-announce/2019/11/msg00007.html
- lists.debian.org/debian-lts-announce/2021/12/msg00028.html
- security.gentoo.org/glsa/202007-27
- snyk.io/vuln/SNYK-RUBY-HAML-20362