NetSight
medium6.1

CVE-2017-1002201

Haml vulnerable to cross-site scripting

Impact

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 packages

EcosystemPackageAffectedFixed in
rubygemshaml< 5.0.05.0.0

Affected products

VendorProductAffected versions
HamlHaml
before 5.0.0
DebianDebian Linux
Versions 8.0, 9.0

Weakness classification

References