CVE-2017-0891 Cross-site scripting in Nextcloud Server

Medium 5.4 Published Updated

Attackers can inject malicious scripts via unescaped error messages in Nextcloud Server, potentially leading to session hijacking or code execution.

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
None listed

What is CVE-2017-0891?

CVE-2017-0891 is a medium-severity cross-site scripting vulnerability in Nextcloud Nextcloud Server, published on 8 May 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Nextcloud Server before 9.0.58 and 10.0.5 and 11.0.3 are vulnerable to an inadequate escaping of error messages leading to XSS vulnerabilities in multiple components.

Weakness: CWE-79

Which versions are affected by CVE-2017-0891?

It affects 1 product.

Products include Nextcloud Nextcloud Server.

How do I fix CVE-2017-0891?

No fix has been published for CVE-2017-0891 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-0891 being exploited?

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

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-qxf8-5jgm-xwxj.

Is CVE-2017-0891 in your software?

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

Check your SBOMs for free