6.1med

CVE-2018-3769

grape subject to Cross-site Scripting

Also known as GHSA-f599-5m7p-hcpf

Published 8 y ago · modified 4 mo ago · JSON

CVSS
6.1
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.4%
percentile 73%
Public exploits
0
none known

Summary

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

Exploit prediction (EPSS)

1.43% probability of exploitation in the next 30 days, higher than 73% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.16.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD2.04.3AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub3.16.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
rubygemsgrape
<1.1.0
1.1.0

Affected products

  • Ruby Grape ruby-grape ruby gem

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

  • github.com /ruby-grape/grape/commit/6876b71efc7b03f7ce1be3f075eaa4e7e6de19af · x_refsource_CONFIRM, x_transferred
  • github.com /ruby-grape/grape/issues/1762 · x_refsource_CONFIRM, x_transferred
  • github.com /ruby-grape/grape/pull/1763 · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-3769 · advisory
  • github.com /rubysec/ruby-advisory-db/blob/master/gems/grape/CVE-2018-3769.yml · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.