ADVISORIES

GitHub Advisory Database

GHSA-r53w-g4xm-3gc6

Haml vulnerable to cross-site scripting

Details

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

EcosystemPackageAffected versions
RubyGemshaml
All versions before 5.0.0 (fixed in 5.0.0)

References