CVE-2017-18286 nZEDb Cross-site Scripting (XSS) in the 404 error page
Cross-site scripting vulnerability in nZEDb allows attackers to inject malicious scripts via the 404 error page, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-18286?
CVE-2017-18286 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Jun 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
nZEDb v0.7.3.3 has XSS in the 404 error page.
Weakness: CWE-79
Which versions are affected by CVE-2017-18286?
2 open source packages ship an affected version, including nzedb/nzedb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nzedb/nzedb Packagist | All versions | 0.8.0.0 |
nzedb/nzedb Packagist | All versions | 0.8.0.0 |
Products include Nzedb Nzedb.
How do I fix CVE-2017-18286?
Upgrade nzedb/nzedb to 0.8.0.0 or later.
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-18286 being exploited?
There is no known exploitation of CVE-2017-18286 in the wild and no public exploit code.
Sources
Also known as GHSA-h847-63fg-vm6c.