Advisory

GHSA-r53w-g4xm-3gc6

Also known as: CVE-2017-1002201, SNYK-RUBY-HAML-20362

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-10-21 21:59 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

haml

RubyGems · All systems

Affected

  • introduced 0, fixed 5.0.0 (ecosystem)

Fixed versions

5.0.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences