Read the docs

Cross-site scripting in http://haml.info/ haml

Priority LOW 30CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.01452 73rd percentileScored 2026-11-07
Fix Fixed haml (RubyGems): 5.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
http://haml.info/hamlAll versions prior to version 5.0.0.beta.2—No fix listedCNA
—haml (RubyGems)before 5.0.05.0.0Patch availableGHSA-r53w-g4xm-3gc6
  • haml Vendorhttp://haml.info/ Affected All versions prior to version 5.0.0.beta.2 Fixed in — No fix listed CNA
  • haml (RubyGems) Vendor— Affected before 5.0.0 Fixed in 5.0.0 Patch available GHSA-r53w-g4xm-3gc6

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:haml:haml:*:*:*:*:*:ruby:*:*before 5.0.0VulnerableHaml
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
  • cpe:2.3:a:haml:haml:*:*:*:*:*:ruby:*:* Versions before 5.0.0 Vulnerable ·Haml
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-r53w-g4xm-3gc6 haml (RubyGems) Fixed in 5.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2017-1002201
  2. 2026-10-03 Alias added: GHSA-r53w-g4xm-3gc6

References

Sources