CVE-2017-7535 Cross-site scripting in foreman
Stored XSS in Foreman allows attackers to execute scripts when users assign hosts to organizations with malicious names.
- 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
- None listed
What is CVE-2017-7535?
CVE-2017-7535 is a medium-severity cross-site scripting vulnerability in Theforeman Foreman, published on 26 Jul 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
foreman before version 1.16.0 is vulnerable to a stored XSS in organizations/locations assignment to hosts. Exploiting this requires a user to actively assign hosts to an organization that contains html in its name which is visible to the user prior to taking action.
Weakness: CWE-79
Which versions are affected by CVE-2017-7535?
It affects 1 product.
Products include Theforeman Foreman.
How do I fix CVE-2017-7535?
No fix has been published for CVE-2017-7535 yet. Limit exposure of the affected software until one is available.
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-2017-7535 being exploited?
There is no known exploitation of CVE-2017-7535 in the wild and no public exploit code.
Other vulnerabilities in Theforeman Foreman
Sources
Also known as GHSA-4w27-xxvw-958c.