Cross-site scripting in foreman
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
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.5.1 | — | No fix listed | CNA |
- foreman VendorThe Foreman Project Affected 1.5.1 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:theforeman:foreman:1.5.1:*:*:*:*:*:*:* | 1.5.1 | Vulnerable | The 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 ImportantSatellite 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Satellite 6.3 | Fixed | RHSA-2018:0336 |
| Red Hat Satellite Capsule 6.3 | Fixed | RHSA-2018:0336 |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-8613
- 2026-10-03 Alias added: GHSA-hh7m-gjfx-m9cw
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-2016-8613 · CVE Program
- CVE-2016-8613 · NVD
- FIRST EPSS
- GHSA-hh7m-gjfx-m9cw · GitHub Advisory Database · CC BY 4.0
- CVE-2016-8613 · 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