Live threats

All CVEs / Ruby-grape

CVE-2018-3769Ruby-grape Grape

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Jul 5, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

ruby-grape ruby gem suffers from a cross-site scripting (XSS) vulnerability via "format" parameter.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grape.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems grape < 1.1.0 1.1.0 gem "grape", ">= 1.1.0"

Per OSV / GitHub Advisories (GHSA-f599-5m7p-hcpf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-grapegrape≤ 1.0.3

Official sources

References

Links published by the sources. Open them with care.