{"id":"CVE-2018-20857","aliases":["EUVD-2019-0601","GHSA-qpxp-5j56-gg3x"],"status":"published","title":"samlr XML nodes comment attack","description":"Zendesk Samlr before 2.6.2 allows an XML nodes comment attack such as a name_id node with user@example.com followed by \u003c!----\u003e. and then the attacker's domain name.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01205,"percentile":0.68485,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2019-07-26T11:41:03Z","modified":"2026-10-20T10:51:34Z","fixes":[{"ecosystem":"RubyGems","package":"samlr","fixed_in":["2.6.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"samlr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"samlr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.1.0","2.2.0","2.3.0","2.4.0","2.4.1","2.5.0","2.5.1","2.5.2","2.6.0","2.6.1"]}],"products":[{"vendor":"zendesk","product":"samlr"}],"references":[{"url":"https://github.com/zendesk/samlr/compare/v2.6.1...v2.6.2","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20857","tags":["advisory"]},{"url":"https://github.com/zendesk/samlr/pull/29","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/samlr/CVE-2018-20857.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qpxp-5j56-gg3x"},{"url":"https://github.com/zendesk/samlr","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-20857","description":"Zendesk Samlr before 2.6.2 allows an XML nodes comment attack such as a name_id node with user@example.com followed by \u003c!----\u003e. and then the attacker's domain name.","status":"published","published":"2019-07-26T11:41:03Z","modified":"2024-08-05T12:12:29.361Z","updated_at":"2026-11-02T14:35:00.237825Z"}],"euvd":[{"id":"EUVD-2019-0601","description":"Zendesk Samlr before 2.6.2 allows an XML nodes comment attack such as a name_id node with user@example.com followed by \u003c!----\u003e. and then the attacker's domain name.","status":"published","published":"2019-07-26T11:41:03Z","modified":"2024-08-05T12:12:29Z","updated_at":"2026-11-03T02:39:29.197639Z"}],"ghsa":[{"id":"GHSA-qpxp-5j56-gg3x","title":"samlr XML nodes comment attack","description":"Zendesk Samlr before 2.6.2 allows an XML nodes comment attack such as a name_id node with user@example.com followed by `\u003c!----\u003e`. and then the attacker's domain name.","status":"published","published":"2019-07-31T04:22:03Z","modified":"2023-08-17T05:02:29Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:00.074932Z"}],"nvd":[{"id":"CVE-2018-20857","description":"Zendesk Samlr before 2.6.2 allows an XML nodes comment attack such as a name_id node with user@example.com followed by \u003c!----\u003e. and then the attacker's domain name.","status":"published","published":"2019-07-26T12:15:11.4Z","modified":"2026-06-17T01:53:36.653Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:04:59.278647Z"}],"osv":[{"id":"CVE-2018-20857","description":"Zendesk Samlr before 2.6.2 allows an XML nodes comment attack such as a name_id node with user@example.com followed by \u003c!----\u003e. and then the attacker's domain name.","status":"published","published":"2019-07-26T12:15:11.4Z","modified":"2026-10-20T10:51:34.741353971Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"GHSA-qpxp-5j56-gg3x","title":"samlr XML nodes comment attack","description":"Zendesk Samlr before 2.6.2 allows an XML nodes comment attack such as a name_id node with user@example.com followed by `\u003c!----\u003e`. and then the attacker's domain name.","status":"published","published":"2019-07-31T04:22:03Z","modified":"2024-02-16T08:06:00.838759Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:54.760124Z"}]}}
