CVE-2017-1002201

Summary

CVECVE-2017-1002201
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-10-15 18:15:00 UTC
Updated2022-04-05 20:53:00 UTC
DescriptionIn 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.

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Haml Haml All All All All
Application Haml Haml 5.0.0 - All All
Application Haml Haml All All All All
Application Haml Haml 5.0.0 - All All

References

ReferenceSourceLinkTags
Always escape `'` in Haml::Helpers.#html_escape. · haml/haml@18576ae · GitHub MISC github.com Patch
Haml: Arbitrary code execution (GLSA 202007-27) — Gentoo security GENTOO security.gentoo.org
[SECURITY] [DLA 1986-1] ruby-haml security update MLIST lists.debian.org
Cross-site Scripting (XSS) in haml | Snyk CONFIRM snyk.io Exploit, Patch, Third Party Advisory
[SECURITY] [DLA 2864-1] ruby-haml security update MLIST lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178978 Debian Security Update for ruby-haml (DLA 2864-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report