haml failure to escape single quotes
Published: May 08, 2017
SECURITY IDENTIFIERS
- CVE: CVE-2017-1002201 (NVD)
- GHSA: GHSA-r53w-g4xm-3gc6
- Vendor Advisory: https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2
GEM
SEVERITY
PATCHED VERSIONS
>= 5.0.0.beta.2
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.
