Read the docs
TI-2018-12071 Aliases CVE-2018-16861GHSA-w3p6-8cgj-c9xc

Cross-site scripting in foreman

Priority LOW 35CWE-79Published · Updated

Key facts

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

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

Summary

A cross-site scripting (XSS) flaw was found in the foreman component of satellite. An attacker with privilege to create entries using the Hosts, Monitor, Infrastructure, or Administer Menus is able to execute a XSS attacks against other users, possibly leading to malicious code execution and extraction of the anti-CSRF token of higher privileged users. Foreman before 1.18.3, 1.19.1, and 1.20.0 are vulnerable.

Why it matters now

EPSS 0.00878 59th 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.18.3; 1.19.1; 1.20.0—No fix listedCNA
  • foreman VendorThe Foreman Project Affected 1.18.3; 1.19.1; 1.20.0 Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*before 1.18.3; 1.19.0 to before 1.19.1VulnerableThe Foreman Project
cpe:2.3:a:theforeman:foreman:1.20.0:rc1:*:*:*:*:*:*1.20.0 rc1VulnerableThe Foreman Project
cpe:2.3:a:theforeman:foreman:1.20.0:rc2:*:*:*:*:*:*1.20.0 rc2VulnerableThe Foreman Project
  • cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* Versions before 1.18.3; 1.19.0 to before 1.19.1 Vulnerable ·The Foreman Project
  • cpe:2.3:a:theforeman:foreman:1.20.0:rc1:*:*:*:*:*:* Versions 1.20.0 rc1 Vulnerable ·The Foreman Project
  • cpe:2.3:a:theforeman:foreman:1.20.0:rc2:*:*:*:*:*:* Versions 1.20.0 rc2 Vulnerable ·The Foreman Project

Remediation

Red Hat 1 advisory

  • RHSA-2019:1222 Released 2019-05-14 · Red Hat rating Moderate
    Satellite 6.5 Release
    • Red Hat Satellite 6.5 SOAPpy-0.11.6-17.el7, ansiblerole-insights-client-1.6-1.el7sat, candlepin-2.5.15-1.el7sat +47
    • Red Hat Satellite Capsule 6.5 SOAPpy-0.11.6-17.el7, ansiblerole-insights-client-1.6-1.el7sat, createrepo_c-0.7.4-1.el7sat +47

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Satellite 6.5Fixed RHSA-2019:1222
Red Hat Satellite Capsule 6.5Fixed RHSA-2019:1222

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-16861
  2. 2026-10-03 Alias added: GHSA-w3p6-8cgj-c9xc

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