Read the docs
TI-2016-07075 Aliases CVE-2016-8613GHSA-hh7m-gjfx-m9cw

Cross-site scripting in foreman

Priority LOW 33CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-79.

Summary

A flaw was found in foreman 1.5.1. The remote execution plugin runs commands on hosts over SSH from the Foreman web UI. When a job is submitted that contains HTML tags, the console output shown in the web UI does not escape the output causing any HTML or JavaScript to run in the user's browser. The output of the job is stored, making this a stored XSS vulnerability.

Why it matters now

EPSS 0.02396 84th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
The Foreman Projectforeman1.5.1—No fix listedCNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:theforeman:foreman:1.5.1:*:*:*:*:*:*:*1.5.1VulnerableThe Foreman Project
  • cpe:2.3:a:theforeman:foreman:1.5.1:*:*:*:*:*:*:* Versions 1.5.1 Vulnerable ·The Foreman Project

Remediation

Red Hat 1 advisory

  • RHSA-2018:0336 Released 2018-02-21 · Red Hat rating Important
    Satellite 6.3 security, bug fix, and enhancement update
    • Red Hat Satellite 6.3 candlepin-2.1.14-1.el7, candlepin-selinux-2.1.14-1.el7, foreman-1.15.6.34-1.el7sat +47
    • Red Hat Satellite Capsule 6.3 foreman-1.15.6.34-1.el7sat, foreman-bootloaders-redhat-201801241201-2.el7sat, foreman-bootloaders-redhat-tftpboot-201801241201-2.el7sat +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Satellite 6.3Fixed RHSA-2018:0336
Red Hat Satellite Capsule 6.3Fixed RHSA-2018:0336

Timeline

  1. 2026-10-02 Threatist record created from CVE-2016-8613
  2. 2026-10-03 Alias added: GHSA-hh7m-gjfx-m9cw

References

  • TI-2026-01620 Forman: foreman: remote code execution via command injection in websocket proxy CVSS 3.1HIGH 8.8
  • TI-2018-10506 Improper authentication in [UNKNOWN] smart_proxy_dynflow CVSS 3.0CRITICAL 9.8
  • TI-2013-01890 Eval injection vulnerability in the create method in the Bookmarks controller in Foreman… CVSS 2.0MEDIUM 6.0
  • TI-2013-01882 The create method in app/controllers/users_controller.rb in Foreman before 1.2.0-RC2… CVSS 2.0MEDIUM 6.0
  • TI-2022-03551 Os command injection via ct_command and fcct_command CVSS 3.1CRITICAL 9.1
  • TI-2023-00113 Foreman: arbitrary code execution through templates CVSS 3.1CRITICAL 9.1
See all 85 →

Sources