CVE-2016-6319 Cross-site scripting in n/a

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML via the label parameter in Foreman's form helper, potentially leading to session hijacking or malicious actions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-6319?

CVE-2016-6319 is a medium-severity cross-site scripting vulnerability in Theforeman Foreman, published on 19 Aug 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in app/helpers/form_helper.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.

Weakness: CWE-79

Which versions are affected by CVE-2016-6319?

It affects 1 product.

Products include Theforeman Foreman.

How do I fix CVE-2016-6319?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2016-6319 being exploited?

There is no known exploitation of CVE-2016-6319 in the wild and no public exploit code.

All Theforeman Foreman vulnerabilities

Sources

Also known as GHSA-63pc-xj3r-v6f8.

Is CVE-2016-6319 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free