Security mailing lists by PureSourceCode

CVE-2017-1002201

MEDIUM 6.1CVSS 3.1

Haml vulnerable to cross-site scripting

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.

Published
15 Oct 2019
Last modified
10 Sep 2026
Assigned by
josh@bress.net
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-r53w-g4xm-3gc6SNYK-RUBY-HAML-20362
Sources
NVDJSONOSV GHSA-r53w-g4xm-3gc6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD haml haml
cpe:2.3:a:haml:haml:*:*:*:*:*:ruby:*:*
< 5.0.0 5.0.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
OSV RubyGems haml < 5.0.0 5.0.0

References

History

  • 25 Nov 2026 20:30 UTC · NVD: first stored (published 15 Oct 2019)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Oct 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.