Cross-site Scripting (XSS) Affecting rubygem-sinatra package, versions <1:1.4.7-3.el7sat


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.12% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-RUBYGEMSINATRA-5374749
  • published1 Apr 2023
  • disclosed31 Oct 2017

Introduced: 31 Oct 2017

CVE-2017-15100  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rubygem-sinatra to version 1:1.4.7-3.el7sat or higher.
This issue was patched in RHSA-2018:2927.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-sinatra package and not the rubygem-sinatra package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

An attacker submitting facts to the Foreman server containing HTML can cause a stored XSS on certain pages: (1) Facts page, when clicking on the "chart" button and hovering over the chart; (2) Trends page, when checking the graph for a trend based on a such fact; (3) Statistics page, for facts that are aggregated on this page.

CVSS Scores

version 3.1