CVE-2018-8728 Cross-site scripting in n/a
An attacker can execute arbitrary scripts in the Kontena master login interface via a crafted URI, 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
- None listed
What is CVE-2018-8728?
CVE-2018-8728 is a medium-severity cross-site scripting vulnerability in n/a, published on 15 Mar 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
server/app/views/static/code.html in Kontena before 1.5.0 allows XSS in "kontena master login --remote" code display, as demonstrated by /code#code= in a URI.
Weakness: CWE-79
Which versions are affected by CVE-2018-8728?
It affects 1 product.
Products include Kontena Kontena.
How do I fix CVE-2018-8728?
No fix has been published for CVE-2018-8728 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-2018-8728 being exploited?
There is no known exploitation of CVE-2018-8728 in the wild and no public exploit code.
Sources
Also known as GHSA-f65r-h9w8-hr5r.