Haml vulnerable to cross-site scripting
Published Oct 15, 2019 · Updated Oct 23, 2026 · Also known as GHSA-r53w-g4xm-3gc6
Original summary
Normalized public record · Updated Oct 23, 2026
Haml vulnerable to cross-site scripting
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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.
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- LOW
- Confidence
- Not available
- Aliases
- GHSA-r53w-g4xm-3gc6
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
- Patch commit ↗
- snyk.io ↗
- [debian-lts-announce] 20191110 [SECURITY] [DLA 1986-1] ruby-haml security update ↗
- GLSA-202007-27 ↗
- [debian-lts-announce] 20211229 [SECURITY] [DLA 2864-1] ruby-haml security update ↗
Record history
Published Oct 15, 2019 · Last refreshed Oct 23, 2026