All reports
Medium

Haml vulnerable to cross-site scripting

Affected versions

RubyGemshaml
Affected versions
< 5.0.0
Fixed version
5.0.0

Exploitation

CVE-2017-1002201

Probability of exploitation in the next 30 days: 1.45%

FIRST EPSS · 2026-11-21

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.

Links