CVE-2016-6319: XSS

Published Aug 10, 2016
·
Updated

Cross-site scripting (XSS) vulnerability in app/helpers/formhelper.rb in Foreman before 1.12.2, as used by Remote Execution and possibly other plugins, allows remote attackers to inject arbitrary web script or HTML via the label parameter.

Other sources

Marek Hulán of Red Hat reports:

User can define a job template and specify input name containing JS code. When someone tries to invoke such job, the form is generated based on this name without proper escaping so the JS gets executed.

Upstream issue:

http://projects.theforeman.org/issues/16019

Proposed upstream patch:

https://github.com/theforeman/foreman/pull/3715/commits/4b63d2c7cdad76ed2bf96d9f8dff7e0c5cdabda6

Red Hat

Affected Software

1 affected component
theforeman foreman<=1.12.1

Event History

Aug 10, 2016
Data Sourced
via Red Hat·09:28 AM
DescriptionSeverityAffected Software
Aug 19, 2016
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-6319?

CVE-2016-6319 is classified as a medium-severity vulnerability due to its potential for Cross-site scripting (XSS) attacks.

2

How do I fix CVE-2016-6319?

To fix CVE-2016-6319, upgrade Foreman to version 1.12.2 or later.

3

Who disclosed CVE-2016-6319?

CVE-2016-6319 was reported by Marek Hulán of Red Hat.

4

What components are affected by CVE-2016-6319?

CVE-2016-6319 affects Foreman versions prior to 1.12.2, specifically impacting app/helpers/form_helper.rb.

5

What type of vulnerability is CVE-2016-6319?

CVE-2016-6319 is a Cross-site scripting (XSS) vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203