CVE-2018-14664
Description
A flaw was found in foreman from versions 1.18. A stored cross-site scripting vulnerability exists due to an improperly escaped HTML code in the breadcrumbs bar. This allows a user with permissions to edit which attribute is used in the breadcrumbs bar to store code that will be executed on the client side.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A stored cross-site scripting vulnerability in Foreman's breadcrumbs bar allows authenticated users with edit permissions to inject arbitrary JavaScript.
Vulnerability
The vulnerability is a stored cross-site scripting (XSS) flaw in Foreman versions 1.18 and later. It exists because the breadcrumbs bar does not properly escape HTML code when displaying user-controlled attributes. An authenticated user with permissions to edit the attribute used in the breadcrumbs bar can inject malicious script code that will be stored and executed on the client side. Affected versions include Foreman 1.18 through 1.20 (as fixed in later releases). [1][2]
Exploitation
An attacker must have a valid Foreman account with permissions to modify the attribute that populates the breadcrumbs bar. The attacker can then craft a payload containing JavaScript and set it as the attribute value. When any user (including administrators) navigates to a page that renders the breadcrumbs bar, the injected script executes in the context of the victim's browser. No additional user interaction is required beyond viewing the affected page. [2]
Impact
Successful exploitation leads to arbitrary JavaScript execution in the victim's browser. This can result in session hijacking, data theft, defacement, or other client-side attacks. The attacker can perform actions on behalf of the victim, potentially escalating privileges or accessing sensitive information within the Foreman application. [2]
Mitigation
The fix was released in Foreman 1.20.1.34-1.el7sat as part of Red Hat Satellite 6.5 (RHSA-2019:1222) [1]. Users should upgrade to the patched version. No workarounds are documented; restricting permissions to edit breadcrumb attributes may reduce risk but does not fully mitigate. [1][2]
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Range: 0.1, 0.2, 0.2rc2, …
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- access.redhat.com/errata/RHSA-2019:1222mitrevendor-advisoryx_refsource_REDHAT
- www.securityfocus.com/bid/106553mitrevdb-entryx_refsource_BID
- bugzilla.redhat.com/show_bug.cgimitrex_refsource_CONFIRM
- projects.theforeman.org/issues/25169mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.