CVE-2017-0893 Cross-site scripting in Nextcloud Server
An XSS vulnerability in Nextcloud Server's JavaScript sanitization library could allow code execution, though mitigated by CSP on modern browsers.
- 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-0893?
CVE-2017-0893 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 shipping a vulnerable JavaScript library for sanitizing untrusted user-input which suffered from a XSS vulnerability caused by a behaviour change in Safari 10.1 and 10.2. Note that Nextcloud employs a strict Content-Security-Policy preventing exploitation of this XSS issue on modern web browsers.
Weakness: CWE-79
Which versions are affected by CVE-2017-0893?
It affects 1 product.
Products include Nextcloud Nextcloud Server.
How do I fix CVE-2017-0893?
No fix has been published for CVE-2017-0893 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-0893 being exploited?
There is no known exploitation of CVE-2017-0893 in the wild and no public exploit code.
Other vulnerabilities in Nextcloud Nextcloud Server
- CVE-2021-32802 Preview generation used third-party library not suited for user-generated content in Nextcloud server
- CVE-2023-26482 Scope of workflow operations is not validated in nextcloud server
- CVE-2018-3775 Auth bypass in Nextcloud Server
- CVE-2023-35172 Nextcloud Server password reset endpoint is not brute force protected
- CVE-2023-32320 Nextcloud Server's brute force protection allows someone to send more requests than intended
Sources
Also known as GHSA-qv8x-gg84-8259.