CVE-2015-3161 Cross-site scripting in n/a
Attackers can inject malicious scripts via the search bar due to improper escaping of script tags in JSON output, potentially executing code in user browsers.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2015-3161?
CVE-2015-3161 is a medium-severity cross-site scripting vulnerability in n/a, published on 6 Sep 2017. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The search bar code in bkr/server/widgets.py in Beaker before 20.1 does not escape </script> tags in string literals when producing JSON.
Weakness: CWE-79
Which versions are affected by CVE-2015-3161?
It affects 1 product.
Products include Beaker-Project Beaker.
How do I fix CVE-2015-3161?
No fix has been published for CVE-2015-3161 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-2015-3161 being exploited?
There is no known exploitation of CVE-2015-3161 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-xwp7-mhrf-gv22.