XSS in Haml

CVE-2017-1002201

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.015 (70.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

  • josh@bress.net (Patch, Third Party Advisory, x_refsource_MISC)
  • josh@bress.net (x_refsource_CONFIRM, Exploit, Patch, Third Party Advisory)
  • josh@bress.net (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
  • josh@bress.net (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
  • josh@bress.net (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)

Frequently asked questions

What is CVE-2017-1002201?
CVE-2017-1002201 is a medium-severity vulnerability in Haml, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2019-10-15.
How severe is CVE-2017-1002201?
Medium severity. CVSS v3 base score is 6.1 out of 10.