Medium, CVSS 6.1RubyGemsPublished
Haml vulnerable to cross-site scripting
CVE-2017-1002201 · GHSA-r53w-g4xm-3gc6
- Affected
- RubyGems haml < 5.0.0
- Fixed in
- 5.0.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 5.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.