ghsa-r53w-g4xm-3gc6
Vulnerability from github
Published
2019-10-21 21:59
Modified
2023-08-25 21:32
Severity ?
VLAI Severity ?
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.
{
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "haml"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2017-1002201"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2019-10-16T15:18:02Z",
"nvd_published_at": "2019-10-15T18:15:00Z",
"severity": "MODERATE"
},
"details": "In haml versions prior to version 5.0.0.beta.2, when using user input to perform tasks on the server, characters like `\u003c \u003e \" \u0027` must be escaped properly. In this case, the `\u0027` character was missed. An attacker can manipulate the input to introduce additional attributes, potentially executing code.",
"id": "GHSA-r53w-g4xm-3gc6",
"modified": "2023-08-25T21:32:06Z",
"published": "2019-10-21T21:59:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1002201"
},
{
"type": "WEB",
"url": "https://github.com/haml/haml/commit/18576ae6e9bdcb4303fdbe6b3199869d289d67c2"
},
{
"type": "WEB",
"url": "https://github.com/haml/haml"
},
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/haml/CVE-2017-1002201.yml"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2019/11/msg00007.html"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2021/12/msg00028.html"
},
{
"type": "WEB",
"url": "https://security.gentoo.org/glsa/202007-27"
},
{
"type": "WEB",
"url": "https://snyk.io/vuln/SNYK-RUBY-HAML-20362"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "Haml vulnerable to cross-site scripting"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…