Summary
It was discovered that Haml did not properly escape the single quote
character. If Haml were made to process specially crafted input, an
attacker could possibly use this issue to inject arbitrary HTML attributes
and perform cross-site scripting attacks.
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | ruby-haml | 4.0.7-1ubuntu0.16.04.1~esm1 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | ruby-haml | 4.0.7-1ubuntu0.18.04.1~esm1 |
Vulnerabilities 1
-
Medium 6.1
Haml vulnerable to cross-site scripting
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 attr…
References
-
report
https://ubuntu.com/security/CVE-2017-1002201