Cross-site scripting in foreman
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The Foreman Project | foreman | 1.18.3; 1.19.1; 1.20.0 | — | No fix listed | CNA |
- foreman VendorThe Foreman Project Affected 1.18.3; 1.19.1; 1.20.0 Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* | 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:*:*:*:*:*:* | 1.20.0 rc1 | Vulnerable | The Foreman Project |
| cpe:2.3:a:theforeman:foreman:1.20.0:rc2:*:*:*:*:*:* | 1.20.0 rc2 | Vulnerable | The 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 ModerateSatellite 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Satellite 6.5 | Fixed | RHSA-2019:1222 |
| Red Hat Satellite Capsule 6.5 | Fixed | RHSA-2019:1222 |
Timeline
- 2026-10-02 Threatist record created from CVE-2018-16861
- 2026-10-03 Alias added: GHSA-w3p6-8cgj-c9xc
References
More The Foreman Project Foreman vulnerabilities
- 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
Sources
- CVE-2018-16861 · CVE Program
- CVE-2018-16861 · NVD
- FIRST EPSS
- GHSA-w3p6-8cgj-c9xc · GitHub Advisory Database · CC BY 4.0
- CVE-2018-16861 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences