XSS in Theforeman Foreman

CVE-2016-8613

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.024 (82.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2016-8613?
CVE-2016-8613 is a medium-severity vulnerability in Theforeman Foreman, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2018-07-31.
How severe is CVE-2016-8613?
Medium severity. CVSS v3 base score is 6.4 out of 10.