CVE-2016-8634 Cross-site scripting in foreman

Medium 6.1 Published Updated

Stored XSS in Foreman allows attackers to execute scripts via HTML in organization names, potentially compromising user sessions.

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-8634?

CVE-2016-8634 is a medium-severity cross-site scripting vulnerability in Theforeman Foreman, published on 1 Aug 2018. 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

A vulnerability was found in foreman 1.14.0. When creating an organization or location in Foreman, if the name contains HTML then the second step of the wizard (/organizations/id/step2) will render the HTML. This occurs in the alertbox on the page. The result is a stored XSS attack if an organization/location with HTML in the name is created, then a user is linked directly to this URL.

Weakness: CWE-79

Which versions are affected by CVE-2016-8634?

It affects 1 product.

Products include Theforeman Foreman.

How do I fix CVE-2016-8634?

Apply the vendor's patch.

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-8634 being exploited?

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

All Theforeman Foreman vulnerabilities

Sources

Also known as GHSA-fjj6-r3pr-3rrj.

Is CVE-2016-8634 in your software?

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

Check your SBOMs for free