CVE-2018-16861
CVE-2018-16861 is a high-severity vulnerability in Theforeman Foreman with a CVSS 3.x base score of 7.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: High (CVSS 3.x base score 7.6)
- CVSS v2: 3.5
- EPSS exploit prediction: 1% (58th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-79
- Affected product: Theforeman Foreman
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2018-16861?
- 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.
- How severe is CVE-2018-16861?
- CVE-2018-16861 has a CVSS 3.x base score of 7.6, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability low.
- Is CVE-2018-16861 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (58th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-16861?
- CVE-2018-16861 primarily affects Theforeman Foreman. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2018-16861?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-16861 published?
- CVE-2018-16861 was published on 2018-12-07 and last updated on 2026-06-17.
References
- https://access.redhat.com/errata/RHSA-2019:1222
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16861
Affected products (3)
- cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*
- cpe:2.3:a:theforeman:foreman:1.20.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:theforeman:foreman:1.20.0:rc2:*:*:*:*:*:*
More vulnerabilities in Theforeman Foreman
- CVE-2018-14643 — Critical (CVSS 9.8): An authentication bypass flaw was found in the smart_proxy_dynflow component used by Foreman. A malicious attacker can…
- CVE-2023-0118 — Critical (CVSS 9.1): An arbitrary code execution flaw was found in Foreman. This flaw allows an admin user to bypass safe mode in templates…
- CVE-2026-5136 — High (CVSS 8.8): A flaw was found in Foreman. The Usergroup model in Foreman does not properly validate role assignments against the…
- CVE-2021-3590 — High (CVSS 8.8): A flaw was found in Foreman project. A credential leak was identified which will expose Azure Compute Profile password…
- CVE-2018-1097 — High (CVSS 8.8): A flaw was found in foreman before 1.16.1. The issue allows users with limited permissions for powering oVirt/RHV hosts…
- CVE-2017-7505 — High (CVSS 8.8): Foreman since version 1.5 is vulnerable to an incorrect authorization check due to which users with user management…
All CVEs affecting Theforeman Foreman →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2026-106102 — Critical (CVSS 10.0): Quasar Framework is a framework for building high-performance Vue.js user interfaces. Prior to 2.22.0, the SSR-only…
- CVE-2026-59167 — Critical (CVSS 10.0): SunEditor is a lightweight and powerful WYSIWYG editor in vanilla JavaScript with no dependencies. Prior to 2.47.11,…
- CVE-2026-85061 — Critical (CVSS 10.0): MapLibre GL JS is an interactive vector tile map library for web browsers. Prior to 6.4.1, DOM.sanitize() in…
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →