{"id":"CVE-2018-3769","aliases":["GHSA-f599-5m7p-hcpf"],"kind":"cve","tier":"cold","status":"published","title":"grape subject to Cross-site Scripting","description":"ruby-grape ruby gem suffers from a cross-site scripting (XSS) vulnerability via \"format\" parameter.","ai_summary":null,"severity":"medium","cvss":{"score":6.1,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},"scores":[{"score":6.1,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd"},{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-79"],"remote":true,"remote_unauth":true,"epss":{"score":0.01406,"percentile":0.73428,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[{"ecosystem":"RubyGems","name":"grape","affected":"< 1.1.0","fixed":["1.1.0"],"source":"osv"}],"affected_products":[{"vendor":"Ruby Grape","product":"ruby-grape ruby gem","versions":">= 1.0.3","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade grape to 1.1.0 or later.","technologies":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3769","kind":"vendor"},{"url":"https://github.com/ruby-grape/grape/commit/6876b71efc7b03f7ce1be3f075eaa4e7e6de19af","kind":"patch"},{"url":"https://github.com/ruby-grape/grape/pull/1763","kind":"patch"},{"url":"https://github.com/ruby-grape/grape/issues/1762","kind":"exploit"},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/grape/CVE-2018-3769.yml","kind":"other"}],"workarounds":null,"vendors":["ruby grape","ruby-grape"],"products":["grape","ruby-grape ruby gem"],"cpes":["cpe:2.3:a:ruby-grape:grape:*:*:*:*:*:*:*:*"],"published_at":"2018-07-05T16:00:00.000Z","modified_at":"2026-06-17T01:57:47.833Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3769"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-f599-5m7p-hcpf","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2018-3769","markdown":"https://flawdb.com/CVE-2018-3769.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-3769"}}